DYH云

DYH开放接口


编辑试卷

简要描述
  • 编辑试卷
请求URL
  • {{BASE_URL}}/api/job.paper/editLiveTarget/id/:id POST
  • 编辑的时候 会有questionPid 代表是xxx的子题目
参数

添加

{
    "step":"webLiveTarget", # 固定值, 直播目标
    "name" : "试卷名称", 
    "background" : "某抽纸拥有广大的带货主播团体,分析这些主播的情况,得到该商品在不同情况下的销售情况",
    "score" : "20", # 底下 questionList加起来的总分
    "belongs": "1", # 固定值, 1 代表个人, 2 代表公共
    "extra": [], # 题干和表格数据
    "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": "2", #直播目标有多个答案 可以tag区分他是第一个目标还是第二个目标
            "belongs": 1, # 固定值
            "score": 2 # 单题分数,
            "desc" : ""
            "extra":"" #
            "childrenQuestionList":[
                {
                    "type": "18", # 排序题, 对多少个, 得多少分
                    "question": "直播子目标", #标题
                    "option": ["直播前预热","保证直播间热度","宠粉款商品进行圈粉","增加用户的停留时长,提高直播用户留存率","通过秒杀、聊天进行互动","直播引流","提高关注增量","公屏互动方式吸粉","提升商品转化率"],
                    "answer": "1,6,3,5,8", # 逗号分隔
                    "tag": "", #子题目就不用传
                    "belongs": 1, # 固定值
                    "score": 2 # 单题分数,
                    "desc" : ""
                    "extra":"" #
                },
                {
                    "type": "18", # 排序题, 对多少个, 得多少分
                    "question": "如何实现目标策略", #标题
                    "option": ["直播前通过短视频/文案/海报/二维码/商城进行预热,主要进行主题预热、嘉宾预热、产品SKU预热","投抖+,保证直播间热度,以及福利款承接直播间热度","主播自我介绍,然后主播话术引导关注;与粉丝互动签到,调动直播间气氛;让新粉回复口令;送出引流款产品",xxxxx],
                    "answer": "1,3,5,9,11,4", # 逗号分隔
                    "tag": "", #子题目就不用传
                    "belongs": 1, # 固定值
                    "score": 2 # 单题分数,
                    "desc" : ""
                    "extra":"" #
                },
            ]
        },
        {
            "type": "19", # 对一个就有分
            "question": "直播目标", #标题
            "option": ["圈粉","新品发布","冲业绩","冲榜一"],
            "answer": "3", # 逗号分隔
            "tag": "3", #直播目标有多个答案 可以tag区分他是第一个目标还是第二个目标
            "belongs": 1, # 固定值
            "score": 2 # 单题分数,
            "desc" : ""
            "extra":"" #
            "childrenQuestionList":[
                {
                    "type": "18", # 排序题, 对多少个, 得多少分
                    "question": "直播子目标", #标题
                    "option": ["直播前预热","保证直播间热度","宠粉款商品进行圈粉","增加用户的停留时长,提高直播用户留存率","通过秒杀、聊天进行互动","直播引流","提高关注增量","公屏互动方式吸粉","提升商品转化率"],
                    "answer": "2,4,7,9", # 逗号分隔
                    ""tag": "", #子题目就不用传
                    "belongs": 1, # 固定值
                    "score": 2 # 单题分数,
                    "desc" : ""
                    "extra":"" #
                },
                {
                    "type": "18", # 排序题, 对多少个, 得多少分
                    "question": "如何实现目标策略", #标题
                    "option": ["直播前通过短视频/文案/海报/二维码/商城进行预热,主要进行主题预热、嘉宾预热、产品SKU预热","投抖+,保证直播间热度,以及福利款承接直播间热度","主播自我介绍,然后主播话术引导关注;与粉丝互动签到,调动直播间气氛;让新粉回复口令;送出引流款产品",xxxxx],
                    "answer": "2,10,6,8,7", # 逗号分隔
                    "tag": "", #子题目就不用传
                    "belongs": 1, # 固定值
                    "score": 2 # 单题分数,
                    "desc" : ""
                    "extra":"" #
                },
            ]
        },
    ]
}

页面列表

ITEM_HTML