| 参数名称 | 参数类型 | 是否必传 | 参数描述 |
|---|---|---|---|
| category_list | list < CategoryInfo > | TRUE | 商品属性列表 |
| - category_id | int64 | TRUE | 类目ID |
| - name | string | TRUE | 类目名称 |
| - parent_id | int64 | TRUE | 父类目ID |
| - level | int32 | TRUE | 类目层级 |
| - is_leaf | bool | TRUE | 是否是叶子结点 |
| - enable | bool | FALSE | 类目是否开放 |
| BaseResp | struct | TRUE | 公共参数 |
| - StatusMessage | string | TRUE | 网关状态码 |
| - StatusCode | int | TRUE | 网关状态信息 |
| extra | struct | TRUE | 响应额外信息 |
| - error_code | int | TRUE | 错误码 0(正常返回) 3000001(业务错误) 5000001(系统错误) |
| - description | string | TRUE | 错误描述 |
| - sub_error_code | int | TRUE | 子错误码 |
| - sub_description | string | TRUE | 子错误描述 |
| - now | int | TRUE | 时间戳 |
| - logid | string | TRUE | 请求日志ID |
| data | struct | TRUE | 响应信息 |
| - error_code | int | TRUE | 错误码 |
| - description | string | TRUE | 错误描述 |
curl --location --request GET 'http://dev-cn.your-api-server.com/life/goods/category/get/?access_token=clt.xxxxx&category_id=0' \
--header 'Authorization: Bearer <token>'{}