文档
测试

修改三级分类

POST
/live-edu/sys/class/updateCourseType

请求头

参数名
类型
描述
必填
token
String
必填

请求参数

参数名
类型
描述
必填
id
int
分类id
必填
name
string
分类名称
必填
cid
int
二级分类ID
必填
img
string
图标
必填
status
string
状态:0取消 1正常
必填
sort
int
排序 越小越靠前
必填
type
int
分类类型 1课程 2题库 3论坛
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 0成功 其它失败
必填

说明 / 示例

`请求示例` ```d {"id":999,"name":"测试分类","cid":2,"img":"xxx","status":"1","sort":3,"type":2} ``` `返回示例` ```d { "code": 0, "msg": "请求成功", "obj": "修改成功" } ```