On this page
商品分类列表
接口功能
获取商品分类列表数据
URL
支持格式
JSON
HTTP请求方式
GET
header头
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
token | true | String | token |
请求参数
无
接口示例
json5
{
"msg": "ok",
"data": [
{
"id": 1,
"name": "新品",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:18",
"category_id": 0,
"order": 0,
"child": []
},
{
"id": 4,
"name": "智慧屏幕",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 0,
"order": 1,
"child": [
{
"id": 15,
"name": "哈哈哈",
"status": 1,
"create_time": "2020-01-18 01:24:59",
"update_time": "2020-01-18 02:33:11",
"category_id": 4,
"order": 2,
"child": []
},
{
"id": 3,
"name": "荣X手机",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 4,
"order": 3,
"child": []
}
]
},
{
"id": 6,
"name": "平板",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 0,
"order": 4,
"child": [
{
"id": 12,
"name": "ipad",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 6,
"order": 5,
"child": []
},
{
"id": 5,
"name": "笔记本",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 6,
"order": 6,
"child": []
}
]
},
{
"id": 2,
"name": "华X手机",
"status": 1,
"create_time": "2019-08-17 00:57:12",
"update_time": "2020-01-18 02:33:11",
"category_id": 0,
"order": 7,
"child": []
}
]
}