文档
测试

答题结果检查

POST
http://127.0.0.1:8181/staff/train/answerCheck

请求参数

参数名
类型
描述
必填
id
long
答题id
必填
answer
string
用户答案
必填

响应参数

参数名
类型
描述
必填
correctResult
boolean
答题结果,true-正确,false-错误
必填
analysis
string
答题解析
必填
correct
string
正确答案
必填

说明 / 示例

**请求报文** ```json { "id":1, "answer":"A" } ``` --- **响应报文** ```json { "code": "0", "msg": "成功", "detail": null, "result": { "correctResult": true, "analysis": "客户新签合同有:个人名义和公司名义2种", "correct": "AD" }, "traceId": "65b5f184d52b4d079a72cd8f36e08d62", "success": true } ```