🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
+++ post:v003/Prior/add *varchar:token#签名 *int:gid#分组ID-v007新增 *int:bid#图片ID-v007新增 *varchar:name#课程名称 *date:date#课程日期 *time:start_time#开始时间 *time:end_time#结束时间 int:password#直播密码 varchar:section#自填部门 varchar:notify#自选通知-v003版为section varchar:phone#自选手机号-v004新增-v007移除 *int:number#培训人数 *int:share#是否分享-v004新增 *int:view#回放看课件-v004新增 *bool:volume#是否有考卷 *varchar:introduction#课程介绍 varchar:path#图片路径 varchar:file#图片名称 <<< 请求成功 { "data": { "llid": 1, "message": "课程创建成功" }, "code": 200, "time": 1505441278, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "gid": "1", "name": "年终培训", "date": "2017-11-11", "start_time": "09:00", "end_time": "18:00", "section": "A部门", "notify": "1,2,3,4", "number": "10", "share": "0", "view": "0", "volume": "0", "introduction": "技术交流培训课程" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "gid": "1", "name": "年终培训", "date": "2017-11-11", "start_time": "09:00", "end_time": "18:00", "section": "A部门", "notify": "1,2,3,4", "number": "10", "share": "0", "view": "0", "volume": "0", "introduction": "技术交流培训课程" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "gid": "1", "name": "年终培训", "date": "2017-11-11", "start_time": "09:00", "end_time": "18:00", "section": "A部门", "notify": "1,2,3,4", "number": "10", "share": "0", "view": "0", "volume": "0", "introduction": "技术交流培训课程" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "gid": "1", "name": "年终培训", "date": "2017-11-11", "start_time": "09:00", "end_time": "18:00", "section": "A部门", "notify": "1,2,3,4", "number": "10", "share": "0", "view": "0", "volume": "0", "introduction": "技术交流培训课程" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | llid | 房间号 | | | message | 提示消息 | |