DYH云

DYH开放接口


试卷详情

简要描述
  • 试卷详情
请求URL
  • /api/job.paper/getPaperByPart
请求方式
  • GET
参数
参数名 必选 类型 说明
paperId int 试卷id
返回示例
{
    "code": 20000,
    "msg": "success",
    "time": "2021-09-16 14:53:56",
    "data": {
        "info": {
            "jobPaperId": 91,
            "platformId": 527,
            "step": "webLiveFiveStep",
            "video": "",
            "name": "是发达",
            "background": "是的",
            "score": "0.00",
            "belongs": 1,
            "extra": null,
            "status": 1,
            "addTime": "2021-09-15 20:49:05",
            "updateTime": "2021-09-15 21:03:51"
        },
        "question": {
            "questionId": 217,
            "question": "使用富文本",
            "type": 6,
            "score": "0.00",
            "keywordScore": "0.00",
            "jobQuestionId": 217,
            "option": [
                "选项 A",
                "选项 B"
            ],
            "paperQuestionId": 183,
            "part": 0,
            "questionPid": 217
        },
        "part": {
            "1": [
                {
                    "questionId": 218,
                    "question": null,
                    "type": 1,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 218,
                    "option": "[\"\\u9009\\u9879 A\",\"\\u9009\\u9879 B\"]",
                    "paperQuestionId": 184,
                    "part": 1,
                    "questionPid": 217
                },
                {
                    "questionId": 219,
                    "question": null,
                    "type": 2,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 219,
                    "option": "[]",
                    "paperQuestionId": 185,
                    "part": 1,
                    "questionPid": 217
                }
            ],
            "2": [
                {
                    "questionId": 220,
                    "question": null,
                    "type": 1,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 220,
                    "option": "[]",
                    "paperQuestionId": 186,
                    "part": 2,
                    "questionPid": 217
                },
                {
                    "questionId": 221,
                    "question": null,
                    "type": 2,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 221,
                    "option": "[]",
                    "paperQuestionId": 187,
                    "part": 2,
                    "questionPid": 217
                }
            ],
            "3": [
                {
                    "questionId": 222,
                    "question": null,
                    "type": 4,
                    "score": "0.00",
                    "keywordScore": "0.00",
                    "jobQuestionId": 222,
                    "option": "[]",
                    "paperQuestionId": 188,
                    "part": 3,
                    "questionPid": 217
                }
            ],
            "4": [
                {
                    "questionId": 223,
                    "question": null,
                    "type": 1,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 223,
                    "option": "[]",
                    "paperQuestionId": 189,
                    "part": 4,
                    "questionPid": 217
                },
                {
                    "questionId": 224,
                    "question": null,
                    "type": 2,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 224,
                    "option": "[]",
                    "paperQuestionId": 190,
                    "part": 4,
                    "questionPid": 217
                }
            ],
            "5": [
                {
                    "questionId": 225,
                    "question": null,
                    "type": 1,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 225,
                    "option": "[]",
                    "paperQuestionId": 191,
                    "part": 5,
                    "questionPid": 217
                },
                {
                    "questionId": 226,
                    "question": null,
                    "type": 2,
                    "score": "3.33",
                    "keywordScore": "0.00",
                    "jobQuestionId": 226,
                    "option": "[]",
                    "paperQuestionId": 192,
                    "part": 5,
                    "questionPid": 217
                }
            ]
        }
    }
}

页面列表

ITEM_HTML