DYH云

DYH开放接口


试卷 curd

<h5>简要描述</h5> <ul> <li>试卷 curd</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.paper/addPaperAndQuestion</code> POST</li> <li><code>{{BASE_URL}}/api/job.paper/editPaperAndQuestion/id/:id</code> POST</li> <li><code>{{BASE_URL}}/api/job.paper/del/ids/:ids</code>DELETE</li> </ul> <h5>参数</h5> <h1>添加</h1> <pre><code>{ "step":"webLivePlanTs", # 固定值, 直播策划脚本(投手) "name" : "试卷名称", "background" : "xxx", "score" : "20", # 底下 questionList加起来的总分 "belongs": "1", # 固定值, 1 代表个人, 2 代表公共 "video": 视频链接, "extra":[], "questionList":[ # 问题列表 { "type": "4", #主观题 "question": "目标", "option": "", "answer": "xxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 1 }, { "type": "4", #主观题 "question": "方案计划", "option": "", "answer": "xxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 2 }, { "type": "4", #主观题 "question": "选品策略", "option": "", "answer": "xxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "goodsId":'100,101,102,103,104'(主观题给商品让他看的) "extra": "" #备注 "tag": 3 }, { "type": "1", #单选题 "question": "排品策略", "option": "['100,101,102,103,104','102,100,101,103,104','104,103,101,100,102']", "goodsId":'100,101,102,103,104' "answer": "1", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 4 }, { "type": "4", #主观题 "question": "流量投放策略", "option": "", "answer": "xxx", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "" #备注 "tag": 5 }, { "type": "4", #主观题 "question": "直播流程", "option": "", "answer": "", # 逗号分隔 "belongs": 1, # 固定值 "score": 2 # 单题分数, "extra": "[{'step':'开场预热','time':'2-3','content':'进入正式开播'} {'step':'正式开播','time':'10','content':'正式开始,发福袋,建议1000/1人'} {'step':'主播','time':'6','content':'讲产品,讲活动,主打1号款'} {'step':'场控','time':'3','content':'放1号款库存,5%左右'} {'step':'主播引导话术','time':'3','content':'没抢到的宝宝们xxx'} {'step':'场控','time':'2-3','content':'放库存,20%左右'} {'step':'主播','time':'5','content':'马上过2号款...'} {'step':'场控','time':'5','content':'放2号款库存,5%左右'} {'step':'场控','time':'2-3','content':'放2号款库存,20%左右'} {'step':'主播','time':'2-3','content':'马上讲解3号正价款'} {'step':'场控','time':'2-3','content':'把1号2号库存全部放出来'} ]" #直播脚本 "tag": 6 }, ] }</code></pre>

页面列表

ITEM_HTML