文档
测试

获取顶级分类

GET
/course/reserve/category/list

响应参数

参数名
类型
描述
必填
code
int
返回状态码
必填
msg
string
返回描述
必填
data
array
返回数据
必填
id
顶级分类ID
必填
name
顶级分类名称
必填
attribute_list
科目列表
必填
attribute_id
科目ID
必填
label
科目名称
必填

说明 / 示例

{ "code": 200, "msg": "操作成功", "data": [ { "id": 1, "name": "同步教材", "attribute_list": [ { "id": "1", "label": "美术", "type": "学科", "createdTime": "1622090909", "attribute_id": "1" }, { "id": "2", "label": "音乐", "type": "学科", "createdTime": "1622090909", "attribute_id": "2" }, { "id": "6", "label": "书法", "type": "学科", "createdTime": "1622090909", "attribute_id": "6" } ] } ] }