🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 商品分类列表 **请求URL:** - `adminapi/goods.goods_category/lists` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |name |否 |string |分类名称 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "lists": [ { "id": 4, "pid": 0, "name": "商品分类4", "level": 1, "image": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png", "is_show": 1, "is_recommend": 1, "sort": 50, "create_time": "2021-07-17 17:44:22", "is_show_desc": "显示", "sons": [ { "id": 7, "pid": 4, "name": "商品分类7", "level": 2, "image": "", "is_show": 1, "is_recommend": 1, "sort": 50, "create_time": "2021-07-17 17:45:34",, "is_show_desc": "显示", "sons": [ { "id": 11, "pid": 7, "name": "商品分类11", "level": 3, "image": "", "is_show": 1, "is_recommend": 1, "sort": 50, "create_time": "2021-07-19 11:30:26", "is_show_desc": "显示" } ] } ] } ], "count": 11, "page_no": 1, "page_size": 25 } } ``` **返回参数: |参数名 |类型 |说明 | | ------ | ------ | ------ |------ | |name |string |分类名称 | |level |int |分类等级 | |image |string |分类图标 | |is_show |int |是否显示:1-是;0-否 | |is_recommend |int |是否首页推荐:1-是;0-否 | |sort |int |排序 | |create_time |string |创建时间 | |is_show_desc |string |是否显示状态描述 |