🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 商品子分类 ~~~[api] get:http://global.aumalls.com/apigoods/get_sub_cate_list *sign#验证标识 *cid#父分类ID <<< success { "code":20000, "msg":"子分类", "data":{"parent":{"id":"1","name":"营养保健","parent_id":"0","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0"},"sub":[{"id":"3","name":"维生素","parent_id":"1","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0"},{"id":"4","name":"鱼油","parent_id":"1","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0"}]} } <<< error { "code": 40002, "msg": "接口验证失败", } ~~~ #### 说明 1. 提交数据:和注册登录一致; 2. 返回数据success: 1. data:parent下为父分类 sub下为parent的子分类 3. 分类对应的商品列表页链接地址 http://www.x.com/apigoods/get_goods_list/cid/$catId ($catId为分类ID)