DYH云

DYH开放接口


获取试卷详情

<h5>简要描述</h5> <ul> <li>试卷详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>/api/job.paper/getInfo</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> <tr> <td style="text-align: left;">hiddenAnswer</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>是否隐藏答案(1/0) 默认0</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2021-10-26 14:18:41", "data": { "jobPaperId": 156, "platformId": 527, "step": "webFanOperation", "video": "", "name": "kol", "background": "xxxxx", "score": "20.00", "belongs": 1, "extra": null, "status": 1, "addTime": "2021-10-26 11:29:12", "updateTime": "2021-10-26 11:42:52", "questionList": [ { "questionId": 1016, "type": 1, "score": "0.00", "extra": [ "1", "2" ], "paperQuestionId": 1298, "option": [ "111", "222" ], "tagText": "", "options": [ "111", "222" ] } ] } }</code></pre>

页面列表

ITEM_HTML