DYH云

DYH开放接口


curd 试卷

<h5>简要描述</h5> <ul> <li>试卷 curd</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/add</code> POST</li> <li><code>{{BASE_URL}}/api/job.paper/edit/id/:id</code> POST</li> <li><code>{{BASE_URL}}/api/job.paper/del/ids/:ids</code>DELETE</li> </ul> <h5>参数</h5> <pre><code>{ "step":"webTrainingAssistant", # 固定值, 主播助理养成 "name" : "试卷名称", "background" : "背景资料, 图文, 可为空", "score" : "20", # 底下 questionList加起来的总分 "belongs": "1", # 固定值, 1 代表个人, 2 代表公共 "extra": [], # 暂时不需要, 给固定值 "questionList":[ # 问题列表 {"questionId":5, "score":10} ] } #step webEvalSubjective 直播中主观评分 请求参数: { "step":"webEvalSubjective", # 固定值, 直播中主观评分 "name" : "试卷名称", "score" : "20", # 底下 questionList加起来的总分 "belongs": "1", # 固定值, 1 代表个人, 2 代表公共 "extra": [], # 暂时不需要, 给固定值 "questionList":[ # 问题列表 {"questionId":5, "score":10} ] } #step webMakeAnchorPersona 主播人设考核 请求参数: { "step":"webMakeAnchorPersona", # 固定值, 直播中主观评分 "name" : "试卷名称", "score" : "20", # 底下 questionList加起来的总分 "belongs": "1", # 固定值, 1 代表个人, 2 代表公共 "extra": [], # 暂时不需要, 给固定值 "questionList":[ # 问题列表 {"questionId":5, "score":10} ] } #step webLiveFiveStep 五步法 请求参数: { "question": "使用富文本", "score": "20", "paperId": "96", "option": [ "选项 A","选项 B" ], "partQues": [ {"type":"1", "answer":"1", "part":"1", "option" : ["111", "222"]}, {"type":"2", "answer":"1", "part":"1"}, {"type":"1", "answer":"1", "part":"2"}, {"type":"2", "answer":"1", "part":"2"}, {"type":"4", "answer":"1", "part":"3"}, {"type":"1", "answer":"1", "part":"4"}, {"type":"2", "answer":"1", "part":"4"}, {"type":"1", "answer":"1", "part":"5"}, {"type":"2", "answer":"1", "part":"5"} ] } #step webAnchorDemandInducing 主播的需求引导 请求参数: { "step": "webAnchorDemandInducing", "name": "1", "background": "", "belongs": 1, "questionList": [] }</code></pre>

页面列表

ITEM_HTML