以树形结构返回所有分类
GET
http://localhost:8080/api/product/category/list/tree
接口描述
以数组的形式返回所有分类
响应参数
参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
categoryid
int
示例:1
必填
name
string
示例:数码
必填
parentCid
int
示例:0
必填
level
int
示例:1
必填
productCount
int
示例:0
必填
sort
int
示例:0
必填
showstatus
int
是否显示该分类(假删除)
必填
categoryid
int
示例:2
必填
name
string
示例:手机
必填
parentCid
int
示例:1
必填
level
int
示例:2
必填
productCount
int
示例:0
必填
sort
int
示例:0
必填
showstatus
int
示例:1
必填