接口 product.category.list
接口说明
获取商品分类树列表
业务参数
参数名称 | 类型 | 是否必须 | 说明 |
---|---|---|---|
无 |
返回示例
{
"error_code": 0,
"error_msg": "SUCCESS",
"data": [
{
"id": "58e6ee4369c7ef1100ad2f06",
"Name": "饮料", // 分类名称
"ParentID": "",
"Level": 1,
"child": [
{
"id": "58f0922f0c8ea811005dbaa5", // 商品分类使用此二级分类
"Name": "碳酸饮料", // 分类名称
"ParentID": "58e6ee4369c7ef1100ad2f06", // 父及分类
"Level": 2,
"child": []
},
...
]
},
...
]
}