文档
测试

01、获取所有分类及子分类

GET
http://localhost:10000/product/category/list/tree

接口描述

获取

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
array
数据列表
必填
catId
int
分类ID
必填
name
string
分类名称
必填
parentCid
int
父分类ID
必填
catLevel
int
分类等级
必填
showStatus
int
是否显示0-显示 1:不显示
必填
sort
int
排序
必填
icon
object
图标
必填
productUnit
object
计量单位
必填
productCount
int
当前分类下商品总量
必填
children
object
所有子分类
必填