用户工具

站点工具


侧边栏

分类

分类接口


1、获取商品类别

接口名称

category/list

请求方式

GET

请求参数

参数名称 参数类型 是否必填 说明
pid int 默认为0

返回值

名称 类型 说明
id int 分类id
name string 名称
parent_id int 父类id
icon string 图标
cover string 封面图片
son array 子类(有子类返回,没有子类不返回)Array
(
[id] ⇒ 2
[parent_id] ⇒ 1
[name] ⇒ 连衣裙
[icon] ⇒ http://pic.8dage.net/data/uploadfile/images/4/20160317/8bf03ba7bf.jpg
[cover] ⇒ http://pic.8dage.net/data/uploadfile/images/4/20160317/8bf03ba7bf.jpg
)
分类.1464092571.txt.gz · 最后更改: 2017/06/01 13:58 (外部编辑)