文档
测试

分类列表

POST
http://yuanfeng.meiliancheng.cn/index.php?s=/api/category/index

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
category_id
int
示例:10057
必填
name
string
示例:新鲜水果
必填
image
object
数据字典
必填
file_path
string
分类图,示例:http://yuanfeng.meiliancheng.cn/uploads/20190902170357c9e3a7474.png
必填
child
array
子分类,数据列表
必填
category_id
int
示例:10057
必填
name
string
示例:新鲜水果
必填
image
object
数据字典
必填
file_id
int
示例:10331
必填
file_path
string
示例:http://yuanfeng.meiliancheng.cn/uploads/20190902170357c9e3a7474.png
必填