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>是否隐藏答案 0/1 默认0</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2022-01-18 14:44:33", "data": { "jobPaperId": 741, "platformId": 527, "step": "aliSelection", "video": "https://creator.douyin.com/data/stats/video", "name": "阿里选品", "background": "背景资料, 图文, 可为空", "score": "20.00", "belongs": 1, "type": 0, "extra": [], "status": 1, "addTime": "2022-01-18 14:41:32", "updateTime": "2022-01-18 14:41:32", "knowledge": "", "questionList":[ # 问题列表 { "type": "22", #answer不为空的情况下 只要有填写就有分 "question": "注册手机号", "option": '', "answer": "1350xxxxxxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 1 #注册手机号 }, { "type": "22", #answer不为空的情况下 只要有填写就有分 "question": "姓名身份证", "option": '', "answer": "wz,3505xxxxxxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 2 #姓名身份证实名认证 }, { "type": "19", #多个答案对一个就行 "question": "搜索", "option": '', "answer": "凤凰单纵茶,单纵茶,茶,凤凰", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 3 #搜索关键词 }, { "type": "19", #多个答案对一个就行 "question": "搜索", "option": '', "goodsId": '11,22,33', #商品的选项 "answer": "22", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 4 #筛选对的商品 }, { "type": "1或3", #单选或判断题 "question": "购买数量并支付", "option": '', "answer": "10", # 10斤 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 5 #购买数量并支付 }, ] } }</code></pre>

页面列表

ITEM_HTML