文档
测试

课程分类

POST
/app/course/sort/sortResult

请求参数

参数名
类型
描述
必填
position
int
位置 0:首页 1:直播分类栏
必填
pageIndex
int
当前页
必填
pageSize
int
每页显示条数
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 0 成功 其他失败
必填
msg
String
响应信息
必填
obj
Object
返回数据
必填
total
int
总共数据量
必填
size
int
当前显示条数
必填
current
int
当前页
必填
pages
int
总共多少页
必填
records
Array
课程分类列表
必填
id
int
课程分类id
必填
costName
String
课程分类名称
必填
costIcon
String
分类图标url
必填
sort
int
排序
必填
status
int
状态:0停用;1启用
必填
createdBy
String
创建人
必填
createdTime
String
创建时间
必填
updatedBy
String
更新人
必填
updatedTime
String
更新时间
必填
levId
int
上级分类ID
必填
position
int
位置 0:首页 1:直播分类栏
必填
list
Array
子分类列表
必填
isDel
int
是否删除 0:否 1:是
必填

说明 / 示例

## `返回示例` ```java { "code": 0, "msg": "请求成功", "obj": { "records": [ { "id": 61, "costName": "新课推荐", "costIcon": "http://cunchu.yudingketang.com//yw.png", "sort": 0, "status": 1, "createdBy": "", "createdTime": "2020-06-16 10:54:16", "updatedBy": null, "updatedTime": "2021-03-10 18:47:28", "levId": null, "isDel": 0, "position": 0, "list": null } ], "total": 10, "size": 10, "current": 1, "orders": [], "hitCount": false, "searchCount": true, "pages": 1 } } ```