🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>[danger] ### 废弃说明 > **v003版已废弃,不可使用** +++ post:v001/Question/add *varchar:token#签名 *int:llid#房间号 *varchar:topic#题目 *varchar:option_a#A选项 *varchar:option_b#B选项 *varchar:option_c#C选项 *int:option#正确选项 <<< 请求成功 { "data": { "message": "试题添加成功", "count": 1 }, "code": 200, "time": 1505441278, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "topic": "题目内容", "option_a": "A选项内容", "option_b": "B选项内容", "option_c": "C选项内容", "option": 1 } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录", "channel": "100086-59bf7148", "topic": "题目内容", "option_a": "A选项内容", "option_b": "B选项内容", "option_c": "C选项内容", "option": 1 }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "topic": "题目内容", "option_a": "A选项内容", "option_b": "B选项内容", "option_c": "C选项内容", "option": 1 } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "topic": "题目内容", "option_a": "A选项内容", "option_b": "B选项内容", "option_c": "C选项内容", "option": 1 } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "topic": "题目内容", "option_a": "A选项内容", "option_b": "B选项内容", "option_c": "C选项内容", "option": 1 } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示消息 | |