所有一级和二级分类
GET
https://dongtai.yangxiansheng.top/v1/category/all
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
message
string
示例:
必填
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
必填
code
int
示例:0
必填
message
string
示例:
必填
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
必填