DYH云

DYH开放接口


试卷cud

简要描述
  • 试卷cud
请求URL
  • {{BASE_URL}}/api/job.paper/addPaperAndQuestion POST
  • {{BASE_URL}}/api/job.paper/editPaperAndQuestion/id/:id POST
  • {{BASE_URL}}/api/job.paper/del/ids/:idsDELETE
参数
    tag 1-3 主光灯的 位置/亮度/角度
    tag 4-6 辅光灯的 位置/亮度/角度
    tag 7-9 轮廓灯的 位置/亮度/角度

添加

{
    "step": "liveRoomSetUp", #固定
    "video": "",
    "name": "直播间软硬件搭建(实操)",
    "background": "任务目标", #任务目标
    "score": "16.00",
    "belongs": 1,
    "type": 0,
    "extra": {
        "questionStem":"题干" #题干
    },
    "status": 1,
    "addTime": "2022-05-10 09:50:29",
    "updateTime": "2022-05-10 09:50:29",
    "knowledge": "知识点", #知识点
    "questionList": [
            {
                "question": "位置",
                "type": 21, #填空题
                "score": "2.00",
                "tag": "1",
                "option": [
                ],
                "answer": "-2,0,5",
                "keywords": ""
            },
            {
                "question": "亮度",
                "type": 21,
                "score": "2.00",
                "tag": "2",
                "option": [
                ],
                "answer": "50",
                "keywords": ""
            },
            {
                "question": "角度",
                "type": 21,
                "score": "2.00",
                "tag": "3",
                "option": [
                ],
                "answer": "45",
                "keywords": ""
            },
            {
                "question": "位置",
                "type": 21,
                "score": "2.00",
                "tag": "4",
                "option": [
                ],
                "answer": "-2,0,5",
                "keywords": ""
            },
            {
                "question": "亮度",
                "type": 21,
                "score": "2.00",
                "tag": "5",
                "option": [
                ],
                "answer": "50",
                "keywords": ""
            },
            {
                "question": "角度",
                "type": 21,
                "score": "2.00",
                "tag": "6",
                "option": [
                ],
                "answer": "45",
                "keywords": ""
            }
    ]
}

页面列表

ITEM_HTML