商品类别
POST
/product/category/categoryList
请求参数
参数名
类型
描述
必填
mid
string
商家部分的商品类别id(如果参数为空,则是全部商品类别。如果有参数只是根据一级菜单id进行比对查询)
可选
响应参数
参数名
类型
描述
必填
msg
string
示例:success
必填
code
string
示例:200
必填
id
int
示例:1
必填
categoryName
string
示例:甜品饮品
必填
level
string
示例:1
必填
status
int
示例:1
必填
unit
object
示例:null
必填
productNumber
int
示例:0
必填
description
string
示例:苦了累了,来点甜的
必填
childrenNumber
int
示例:4
必填
id
int
示例:9
必填
categoryName
string
示例:全部甜品饮品
必填
level
string
示例:2
必填
status
int
示例:2
必填
unit
object
示例:null
必填
productNumber
int
示例:0
必填
description
object
示例:null
必填
childrenNumber
int
示例:0
必填
categoryChildrenList
array
数据列表
必填
pid
int
示例:1
必填
pid
int
示例:0
必填