ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[warning]### 说明 > **v007版返回数据类型结构调整** +++ post:v007/Prior/edit *varchar:token#Token *int:llid#课程ID <<< 请求成功 { "data": { "live": { "llid": 59, "name": "gfd", "date": "2018-03-21", "start_time": "18:16", "end_time": "19:16", "password": 0, "share": 1, "view": 1, "section": "所有人", "notify": "", "number": 2, "volume": 0, "introduction": "嗯", "gid": 1, "bid": 1, "annex": "[]", "bimage": "" }, "users": [ { "udid": 5, "nickname": "测试账号5" }, { "udid": 6, "nickname": "测试账号6" }, { "udid": 7, "nickname": "测试账号7" } ], "question": 0, "group": [ { "gid": 1, "name": "默认分类", "image": "", "status": 1 }, { "gid": 2, "name": "新员工培训", "image": "", "status": 1 }, { "gid": 3, "name": "开季培训", "image": "", "status": 1 }, { "gid": 4, "name": "商品波段培训", "image": "", "status": 1 } ] }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | live | 房间信息 | | | users | 培训人员 | v003新增 | | phones | 手动录入 | v004新增-v007移除 | | question | 试题数量 | | | group | 分组信息 | v007新增 | #### 请求成功 data['users']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | udid | 人员ID | | | nickname | 人员昵称 | | #### 请求成功 data['phones']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | pid | 人员ID | v007移除 | | phone | 手机号 | v007移除 | #### 请求成功 data['live']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | llid | 培训ID | | | name | 培训名称 | | | date | 开始日期 | | | start_time | 开始时间 | | | end_time | 结束时间 | | | password | 直播密码 | v002新增 | | section | 培训对象 | v003调整 | | share | 是否分享 | v004新增 | | view | 是否看课件 | v004新增 | | notify | 启用用户 | v004新增 | | phone | 自选用户 | v004新增-v007移除 | | number | 培训人数 | | | volume | 是否答题 | | | introduction | 课程介绍 | | | gid | 分组ID | v007新增 | | bid | 背景ID | v007新增 | | annex | 课件 | | | bimage | 背景图片 | v007新增 |