文档
测试

三级联动-联级查询

GET
http://10.3.184.44:10000/group.product/category/tree

响应参数

参数名
类型
描述
必填
catId
int
示例:1
必填
name
string
示例:图书、音像、电子书刊
必填
parentCid
int
示例:0
必填
catLevel
int
示例:1
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:22
必填
name
string
示例:电子书刊
必填
parentCid
int
示例:1
必填
catLevel
int
示例:2
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:165
必填
name
string
示例:电子书
必填
parentCid
int
示例:22
必填
catLevel
int
示例:3
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
object
示例:null
必填
catId
int
示例:1
必填
name
string
示例:图书、音像、电子书刊
必填
parentCid
int
示例:0
必填
catLevel
int
示例:1
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:22
必填
name
string
示例:电子书刊
必填
parentCid
int
示例:1
必填
catLevel
int
示例:2
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:165
必填
name
string
示例:电子书
必填
parentCid
int
示例:22
必填
catLevel
int
示例:3
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
object
示例:null
必填
catId
int
示例:1
必填
name
string
示例:图书、音像、电子书刊
必填
parentCid
int
示例:0
必填
catLevel
int
示例:1
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:22
必填
name
string
示例:电子书刊
必填
parentCid
int
示例:1
必填
catLevel
int
示例:2
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:165
必填
name
string
示例:电子书
必填
parentCid
int
示例:22
必填
catLevel
int
示例:3
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
object
示例:null
必填
catId
int
示例:1
必填
name
string
示例:图书、音像、电子书刊
必填
parentCid
int
示例:0
必填
catLevel
int
示例:1
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:22
必填
name
string
示例:电子书刊
必填
parentCid
int
示例:1
必填
catLevel
int
示例:2
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:165
必填
name
string
示例:电子书
必填
parentCid
int
示例:22
必填
catLevel
int
示例:3
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
object
示例:null
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
array
数据列表
必填
catId
int
示例:1
必填
name
string
示例:图书、音像、电子书刊
必填
parentCid
int
示例:0
必填
catLevel
int
示例:1
必填
showStatus
int
示例:0
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:22
必填
name
string
示例:电子书刊
必填
parentCid
int
示例:1
必填
catLevel
int
示例:2
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
array
数据列表
必填
catId
int
示例:165
必填
name
string
示例:电子书
必填
parentCid
int
示例:22
必填
catLevel
int
示例:3
必填
showStatus
int
示例:1
必填
sort
int
示例:0
必填
icon
object
示例:null
必填
productUnit
object
示例:null
必填
productCount
int
示例:0
必填
child
object
示例:null
必填

响应结果

```language { "msg": "success", "code": 0, "data": [ { "catId": 1, "name": "图书、音像、电子书刊", "parentCid": 0, "catLevel": 1, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": [ { "catId": 22, "name": "电子书刊", "parentCid": 1, "catLevel": 2, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": [ { "catId": 165, "name": "电子书", "parentCid": 22, "catLevel": 3, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": null }, { "catId": 166, "name": "网络原创", "parentCid": 22, "catLevel": 3, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": null }, { "catId": 167, "name": "数字杂志", "parentCid": 22, "catLevel": 3, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": null }, { "catId": 168, "name": "多媒体图书", "parentCid": 22, "catLevel": 3, "showStatus": 1, "sort": 0, "icon": null, "productUnit": null, "productCount": 0, "child": null } ] } ```