DYH云

DYH开放接口


修改试卷

<h5>简要描述</h5> <ul> <li>修改试卷</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/editCommonScriptForLive/{{jobPaperId}}</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <pre><code>{ "name": "小林测试试卷", # 卷子 "step": "webLiveCommonScript", # 固定值 "score": 6, # 总分, 计算后给我, 关键字分数也要加 "extra": 题干, # 固定值 "questionList": [ # 客观题列表 { "type": "1", "question": "标题", "option": [], "answer": json(["关键词串1","关键词串2"]) 例如["谢谢大家,大家,谢谢,感谢,点击","朋友,分享,直播间,朋友圈"] "tag": "1", # 固定值 "belongs": 1, # 固定值 "score": 2 # 单题分数, "part":1 #步骤 第几题, "questionId":xxx } ], }</code></pre> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2021-09-14 10:04:50", "data": [] }</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