DYH云

DYH开放接口


试卷详情

<h5>简要描述</h5> <ul> <li>试卷详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>/api/job.paper/getPaperByPart</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">paperId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>试卷id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2021-09-16 14:53:56", "data": { "info": { "jobPaperId": 91, "platformId": 527, "step": "webLiveFiveStep", "video": "", "name": "是发达", "background": "是的", "score": "0.00", "belongs": 1, "extra": null, "status": 1, "addTime": "2021-09-15 20:49:05", "updateTime": "2021-09-15 21:03:51" }, "question": { "questionId": 217, "question": "使用富文本", "type": 6, "score": "0.00", "keywordScore": "0.00", "jobQuestionId": 217, "option": [ "选项 A", "选项 B" ], "paperQuestionId": 183, "part": 0, "questionPid": 217 }, "part": { "1": [ { "questionId": 218, "question": null, "type": 1, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 218, "option": "[\"\\u9009\\u9879 A\",\"\\u9009\\u9879 B\"]", "paperQuestionId": 184, "part": 1, "questionPid": 217 }, { "questionId": 219, "question": null, "type": 2, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 219, "option": "[]", "paperQuestionId": 185, "part": 1, "questionPid": 217 } ], "2": [ { "questionId": 220, "question": null, "type": 1, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 220, "option": "[]", "paperQuestionId": 186, "part": 2, "questionPid": 217 }, { "questionId": 221, "question": null, "type": 2, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 221, "option": "[]", "paperQuestionId": 187, "part": 2, "questionPid": 217 } ], "3": [ { "questionId": 222, "question": null, "type": 4, "score": "0.00", "keywordScore": "0.00", "jobQuestionId": 222, "option": "[]", "paperQuestionId": 188, "part": 3, "questionPid": 217 } ], "4": [ { "questionId": 223, "question": null, "type": 1, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 223, "option": "[]", "paperQuestionId": 189, "part": 4, "questionPid": 217 }, { "questionId": 224, "question": null, "type": 2, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 224, "option": "[]", "paperQuestionId": 190, "part": 4, "questionPid": 217 } ], "5": [ { "questionId": 225, "question": null, "type": 1, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 225, "option": "[]", "paperQuestionId": 191, "part": 5, "questionPid": 217 }, { "questionId": 226, "question": null, "type": 2, "score": "3.33", "keywordScore": "0.00", "jobQuestionId": 226, "option": "[]", "paperQuestionId": 192, "part": 5, "questionPid": 217 } ] } } }</code></pre>

页面列表

ITEM_HTML