修改二级分类
PUT
/live-edu/sys/class/updateCourseType
请求头
参数名
类型
描述
必填
token
String
必填
请求参数
参数名
类型
描述
必填
id
int
分类ID
必填
name
String
分类名称
必填
cid
int
父分类ID 固定 为0
必填
img
String
图标
必填
status
String
状态:0取消 1正常
必填
sort
int
排序 越小越靠前
必填
type
int
分类类型 1课程 2题库
必填
pid
int
一级分类ID 此参数只有二级分类操作才有
必填
响应参数
参数名
类型
描述
必填
code
int
状态码 0成功 其它失败
必填