文档
测试

所有一级和二级分类

GET
https://dongtai.yangxiansheng.top/v1/category/all

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
message
string
示例:
必填
data
object
数据字典
必填
roots
array
数据列表
必填
id
int
示例:37
必填
name
string
示例:测试数据
必填
description
object
示例:null
必填
parent_id
object
示例:null
必填
img
string
示例:http://i1.sleeve.7yue.pro/306d96c6-ab1c-4f49-882e-dbf68f768a65.png
必填
index
object
示例:null
必填
root
boolean
示例:true
必填
subs
array
数据列表
必填
id
int
示例:20
必填
name
string
示例:收纳
必填
description
object
示例:null
必填
parent_id
int
示例:4
必填
img
string
示例:http://i1.sleeve.7yue.pro/6de8e5af-9cb9-4c45-8091-978d03d81719.png
必填
index
object
示例:null
必填
root
boolean
示例:false
必填
code
int
示例:0
必填
message
string
示例:
必填
data
object
数据字典
必填
roots
array
数据列表
必填
id
int
示例:37
必填
name
string
示例:测试数据
必填
description
object
示例:null
必填
parent_id
object
示例:null
必填
img
string
示例:http://i1.sleeve.7yue.pro/306d96c6-ab1c-4f49-882e-dbf68f768a65.png
必填
index
object
示例:null
必填
root
boolean
示例:true
必填
subs
array
数据列表
必填
id
int
示例:20
必填
name
string
示例:收纳
必填
description
object
示例:null
必填
parent_id
int
示例:4
必填
img
string
示例:http://i1.sleeve.7yue.pro/6de8e5af-9cb9-4c45-8091-978d03d81719.png
必填
index
object
示例:null
必填
root
boolean
示例:false
必填