DYH云

DYH开放接口


获取题目详情

<h5>简要描述</h5> <ul> <li>获取题目详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/getInfo</code></li> <li><code>答题的时候选直播目标 选对了 就继续提交childrenQuestionList里的questionId 选错了就不提交了</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</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 隐藏答案</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { "code": 20000, "msg": "success", "time": "2021-09-29 11:22:09", "data": { "jobPaperId": 67, "platformId": 527, "step": "webLiveTarget", "video": "", "name": "11111111", "background": "11111111", "score": "32.00", "belongs": 1, "extra": {xxx}, "status": 1, "addTime": "2021-09-29 11:22:07", "updateTime": "2021-09-29 11:22:07", "questionList":[ { "type": "2", # 多选题 "question": "直播主题", #标题 "option": ["新品发布","换季清仓","双11购物节","回馈老粉"], "answer": "3", # 逗号分隔 "tag": "1", #第一部分 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # }, type: 2,2,5,21 ...共4题 { "type": "19", # 对一个就有分 "question": "直播目标", #标题 "option": ["圈粉","新品发布","冲业绩","冲榜一"], "answer": "1", # 逗号分隔 "tag": "1", #直播目标有多个答案 可以tag区分他是第一个目标还是第二个目标 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # "childrenQuestionList":[ { "type": "18", # 排序题, 对多少个, 得多少分 "question": "直播子目标", #标题 "option": ["直播前预热","保证直播间热度","宠粉款商品进行圈粉","增加用户的停留时长,提高直播用户留存率","通过秒杀、聊天进行互动","直播引流","提高关注增量","公屏互动方式吸粉","提升商品转化率"], "answer": "1,6,3,5,8", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # }, { "type": "18", # 排序题, 对多少个, 得多少分 "question": "如何实现目标策略", #标题 "option": ["直播前通过短视频/文案/海报/二维码/商城进行预热,主要进行主题预热、嘉宾预热、产品SKU预热","投抖+,保证直播间热度,以及福利款承接直播间热度","主播自我介绍,然后主播话术引导关注;与粉丝互动签到,调动直播间气氛;让新粉回复口令;送出引流款产品",xxxxx], "answer": "1,3,5,9,11,4", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # }, ] }, { "type": "19", # 对一个就有分 "question": "直播目标", #标题 "option": ["圈粉","新品发布","冲业绩","冲榜一"], "answer": "3", # 逗号分隔 "tag": "2", #直播目标有多个答案 可以tag区分他是第一个目标还是第二个目标 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # "childrenQuestionList":[ { "type": "18", # 排序题, 对多少个, 得多少分 "question": "直播子目标", #标题 "option": ["直播前预热","保证直播间热度","宠粉款商品进行圈粉","增加用户的停留时长,提高直播用户留存率","通过秒杀、聊天进行互动","直播引流","提高关注增量","公屏互动方式吸粉","提升商品转化率"], "answer": "2,4,7,9", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # }, { "type": "18", # 排序题, 对多少个, 得多少分 "question": "如何实现目标策略", #标题 "option": ["直播前通过短视频/文案/海报/二维码/商城进行预热,主要进行主题预热、嘉宾预热、产品SKU预热","投抖+,保证直播间热度,以及福利款承接直播间热度","主播自我介绍,然后主播话术引导关注;与粉丝互动签到,调动直播间气氛;让新粉回复口令;送出引流款产品",xxxxx], "answer": "2,10,6,8,7", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "desc" : "" "extra":"" # }, ] }, ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML