DYH云

DYH开放接口


添加试卷

<h5>简要描述</h5> <ul> <li>添加试卷, 页面展示类似商品档案表, 做的时候找我下, 我说下页面 ui</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/addCommonScriptForLive</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <pre><code>{ "name": "小林测试试卷", # 卷子 "step": "webLiveCommonScript", # 固定值 "score": 6, # 总分, 计算后给我, 关键字分数也要加 "extra": {}, # 固定值 "questionList": [ # 客观题列表 { "paper_id":xxx, "type": "7", # 题目类型 直播话术考核题 "question": "从默认题库中获取的题目", # 问题 "tag": "1", # 先获取tag {{BASE_URL}}/api/job.paper/getTag 传step, 用于帅选 "belongs": 1, # 1私有 2共有 "keyword_score": 5 # 关键词分数, "duration": xx # 时长, "answer": string } ], }</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