DYH云

DYH开放接口


获取题目详情

简要描述
  • 获取题目详情
请求URL
  • {{BASE_URL}}/api/job.paper/getInfo
请求方式
  • POST
参数
参数名 必选 类型 说明
paperId int 考卷id
hiddenAnswer int 0 不隐藏答案 1 隐藏答案
返回示例
 {
  "code": 20000,
  "msg": "success",
  "time": "2021-09-29 11:22:09",
  "data": {
    "jobPaperId": 67,
    "platformId": 527,
    "step": "webLivePlanTs",
    "video": "",
    "name": "11111111",
    "background": "11111111",
    "score": "32.00",
    "belongs": 1,
    "extra": {xxx},
    "status": 1,
    "addTime": "2021-09-29 11:22:07",
    "updateTime": "2021-09-29 11:22:07",
    "questionList":[  # 问题列表
        {
            "type": "5", #主观题
            "question": "目标",
            "option": "",
            "answer": "xxx", # 逗号分隔
            "belongs": 1, # 固定值
            "score": 2 # 单题分数,
            "extra": "" #备注
            "tag": 1
        },
         {
            "type": "5", #主观题
            "question": "方案计划",
            "option": "",
            "answer": "xxx", # 逗号分隔
            "belongs": 1, # 固定值
            "score": 2 # 单题分数,
            "extra": "" #备注
            "tag": 2
        },
         {
            "type": "5", #主观题
            "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": "5", #主观题
            "question": "流量投放策略",
            "option": "",
            "answer": "xxx", # 逗号分隔
            "belongs": 1, # 固定值
            "score": 2 # 单题分数,
            "extra": "" #备注
            "tag": 5
        },
        {
            "type": "5", #主观题
            "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
        },
    ]
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML