ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
+++ post:v001/Question/answer *varchar:token#签名 *int:llid#房间号 *json:result#所选结果 <<< 请求成功 { "data": { "message": "试卷提交成功" }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"qid":1,"correct":1},{"qid":2,"correct":1},{"qid":3,"correct":2},{"qid":4,"correct":3}]" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"qid":1,"correct":1},{"qid":2,"correct":1},{"qid":3,"correct":2},{"qid":4,"correct":3}]" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"qid":1,"correct":1},{"qid":2,"correct":1},{"qid":3,"correct":2},{"qid":4,"correct":3}]" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"qid":1,"correct":1},{"qid":2,"correct":1},{"qid":3,"correct":2},{"qid":4,"correct":3}]" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示消息 | |