💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
+++ post:v003/Question/addPost *varchar:token#签名 *int:llid#房间号 *json:result#题目json数组 varchar:topic#题目(v003移入result) varchar:option_a#A选项(v003移入result) varchar:option_b#B选项(v003移入result) varchar:option_c#C选项(v003移入result) varchar:option_d#D选项(v004新增) int:correct#正确选项(v003移入result)(v004改为correct) int:type#题目类型 <<< 请求成功 { "data": { "message": "试题添加成功并已启用" }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"topic":"1题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"2","type":"1"},{"topic":"2题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"1,2","type":"2"}]" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"topic":"1题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"2","type":"1"},{"topic":"2题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"1,2","type":"2"}]" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"topic":"1题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"2","type":"1"},{"topic":"2题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"1,2","type":"2"}]" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "result": "[{"topic":"1题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"2","type":"1"},{"topic":"2题目内容","option_a":"A选项内容","option_b":"B选项内容","option_c":"C选项内容","option_d":"D选项内容","correct":"1,2","type":"2"}]" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示消息 | |