文档
测试

获取指定商品类别

GET
goods-categories/spec-cat

接口描述

根据缩写查询指定商品类别

请求参数

参数名
类型
描述
必填
abbr_name
string
列表的缩写
必填

响应参数

参数名
类型
描述
必填
id
int
类别ID
必填
name
string
类别名称
必填
thumbnail_img
string
缩略图图标(首页)
必填
icon_img
string
小图标(菜单使用)
必填
recommend
boolean
是否推荐。推荐类别需要展示再首页
必填
abbr_name
string
关键字,可以根据该关键字查询特定类别
必填

说明 / 示例

返回结果是列表 ```json [ { "id": 1, "name": "默认", "thumbnail_img": null, "icon_img": null, "recommend": false, "created_at": "2021-03-30T18:24:42.890019+08:00", "order_index": 0, "abbr_name": "default" } ] ```