DYH云

DYH开放接口


获取学生回答

简要描述
  • 获取学生回答
请求URL
  • {{BASE_URL}}/api/job.grades/getResult
请求方式
  • GET
参数
参数名 必选 类型 说明
contestGradesId int 成绩 id
step 是 ,固定值 string WebShortVideoPublishShare
返回示例
{
    "code": 20000,
    "msg": "success",
    "time": "2021-09-15 15:08:43",
    "data": {
        "paperInfo": {
            "job_paper_id": 77,
            "platform_id": 527,
            "step": "WebShortVideoPublishShare",
            "video": "",
            "name": "小林测试试卷",
            "background": null,
            "score": "6.00",
            "belongs": 1,
            "extra": {
                "题干"
            },
            "status": 1,
            "add_time": "2021-09-14 11:53:32",
            "update_time": "2021-09-14 12:05:59"
        },
        "questionWithAnswerList": {
                {
                    "questionId": 86,
                    "question": "题目",
                    "type": 1,
                    "score": "2.00",
                    "keywordScore": "0.00",
                    "jobQuestionId": 86,
                    "option":["我是选项", "我还是选项"],
                    "paperQuestionId": 66,
                    "answer": "0,1",
                    "keywords": "",
                    "userAnswer": { # 用户的回答已经分数
                        "jobAnswerId": 19,
                        "grades": "0.00",
                        "keywordGrades": "0.00",
                        "subjectiveGrades": "0.00",
                        "answer": "1"
                    }
                },
        }
    }
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML