Appearance
4.1.1获取商品末级分类
接口说明:
Method | URL | ContentType |
---|---|---|
GET | /api/restful/categories | application/json |
返回结果说明:
参数 | 类型说明 | 描述 |
---|---|---|
success | bool | 成功:true 失败:false |
errorcode | int | 错误码 |
errormsg | string | 错误消息 |
result | Json 数组 | {"name":"工程设备及用品","id":"0028-0003" } |
请求参数示例:
/api/restful/categories
返回数据示例:
json
{
"result": [{
"name": "笔类",
"id": "010101"
}, {
"name": "显卡",
"id": "020204"
}, {
"name": "手写板",
"id": "020212"
}, {
"name": "充电宝",
"id": "020503"
}, {
"name": "电视",
"id": "030202"
}],
"success": true,
"errormsg": "",
"errorcode": "0",
"requestId": "f2d0dcad158849e5a82081e4e9241f62"
}