DYH云

DYH开放接口


试卷详情

简要描述
  • 试卷详情
请求URL
  • /api/job.paper/getInfo
请求方式
  • GET
参数
参数名 必选 类型 说明
paperId int 试卷id
hiddenAnswer int 是否隐藏答案 0/1 默认0
返回示例
{
    "code": 20000,
    "msg": "success",
    "time": "2022-01-18 14:44:33",
    "data": {
        "jobPaperId": 741,
        "platformId": 527,
        "step": "aliSelection",
        "video": "https://creator.douyin.com/data/stats/video",
        "name": "阿里选品",
        "background": "背景资料, 图文, 可为空",
        "score": "20.00",
        "belongs": 1,
        "type": 0,
        "extra": [],
        "status": 1,
        "addTime": "2022-01-18 14:41:32",
        "updateTime": "2022-01-18 14:41:32",
        "knowledge": "",
        "questionList":[  # 问题列表
            {
                "type": "22", #answer不为空的情况下 只要有填写就有分
                "question": "注册手机号",
                "option": '',
                "answer": "1350xxxxxxx", # 逗号分隔
                "belongs": 1, # 固定值
                "score": 2 # 单题分数,
                "extra": "" #备注
                "tag": 1 #注册手机号
            },
            {
                "type": "22", #answer不为空的情况下 只要有填写就有分
                "question": "姓名身份证",
                "option": '',
                "answer": "wz,3505xxxxxxx", # 逗号分隔
                "belongs": 1, # 固定值
                "score": 2 # 单题分数,
                "extra": "" #备注
                "tag": 2 #姓名身份证实名认证
            },
            {
                "type": "19", #多个答案对一个就行
                "question": "搜索",
                "option": '',
                "answer": "凤凰单纵茶,单纵茶,茶,凤凰", # 逗号分隔
                "belongs": 1, # 固定值
                "score": 2 # 单题分数,
                "extra": "" #备注
                "tag": 3 #搜索关键词
            },
            {
                "type": "19", #多个答案对一个就行
                "question": "搜索",
                "option": '',
                "goodsId": '11,22,33', #商品的选项
                "answer": "22", # 逗号分隔
                "belongs": 1, # 固定值
                "score": 2 # 单题分数,
                "extra": "" #备注
                "tag": 4 #筛选对的商品
            },
            {
                "type": "1或3", #单选或判断题
                "question": "购买数量并支付",
                "option": '',
                "answer": "10", # 10斤
                "belongs": 1, # 固定值
                "score": 2 # 单题分数,
                "extra": "" #备注
                "tag": 5 #购买数量并支付
            },
        ]
    }
}

页面列表

ITEM_HTML