ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 商品分类 ~~~[api] get:http://global.aumalls.com/apigoods/goods_cate_list type#请求类型 (非必须) cid#父分类ID(非必须) <<< success { "code":20000, "msg":"商品分类列表", "data":{"id":"1","name":"营养保健","parent_id":"0","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":null},{"id":"2","name":"美妆个护","parent_id":"0","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":"upload/category/20170629/20170629155302203.jpg"},{"id":"3","name":"维生素","parent_id":"1","sort":"0","visibility":"1","keywords":"","descript":"","title":"","seller_id":"0","pic":null}] } <<< error { "code": 40002, "msg": "接口验证失败", } ~~~ #### 说明: 1. 提交数据:和注册登录一致; 2. 参数$type &nbsp; top:一级分类,sub:二级分类,默认不传:全部分类; 3. 参数$cid 当参数type=sub 请求二级分类信息,请附带此值; 4. 分类对应的商品列表页链接地址 http://www.x.com/apigoods/get_goods_list/cid/$catId ($catId为分类ID)