接口文档 / 商品接口
获取商品分类
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
typeTree可选 | array<object> | |
error可选可为空 | object | |
响应示例
{
"data": {
"typeTree": [
{
"id": 0,
"type": 0,
"subType": 0,
"category": "string",
"isLeaf": 0,
"name": "string",
"children": [
null
]
}
]
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}