DYH云

DYH开放接口


curd 试卷

简要描述
  • 试卷 curd
请求URL
  • {{BASE_URL}}/api/job.paper/add POST
  • {{BASE_URL}}/api/job.paper/edit/id/:id POST
  • {{BASE_URL}}/api/job.paper/del/ids/:idsDELETE
参数
{
    "step":"webTrainingAssistant", # 固定值, 主播助理养成
    "name" : "试卷名称", 
    "background" : "背景资料, 图文, 可为空",
    "score" : "20", # 底下 questionList加起来的总分
    "belongs": "1", # 固定值, 1 代表个人, 2 代表公共
    "extra": [], # 暂时不需要, 给固定值
    "questionList":[  # 问题列表
        {"questionId":5, "score":10}
    ]
}

#step
webEvalSubjective  直播中主观评分
请求参数:
{
    "step":"webEvalSubjective", # 固定值, 直播中主观评分
    "name" : "试卷名称", 
    "score" : "20", # 底下 questionList加起来的总分
    "belongs": "1", # 固定值, 1 代表个人, 2 代表公共
    "extra": [], # 暂时不需要, 给固定值
    "questionList":[  # 问题列表
        {"questionId":5, "score":10}
    ]
}

#step
webMakeAnchorPersona  主播人设考核
请求参数:
{
    "step":"webMakeAnchorPersona", # 固定值, 直播中主观评分
    "name" : "试卷名称", 
    "score" : "20", # 底下 questionList加起来的总分
    "belongs": "1", # 固定值, 1 代表个人, 2 代表公共
    "extra": [], # 暂时不需要, 给固定值
    "questionList":[  # 问题列表
        {"questionId":5, "score":10}
    ]
}
#step
webLiveFiveStep  五步法
请求参数:
{
    "question": "使用富文本",
    "score": "20",
    "paperId": "96",
    "option": [
        "选项 A","选项 B"
    ],
     "partQues": [
        {"type":"1", "answer":"1", "part":"1", "option" : ["111", "222"]},
        {"type":"2", "answer":"1", "part":"1"},
        {"type":"1", "answer":"1", "part":"2"},
        {"type":"2", "answer":"1", "part":"2"},
        {"type":"4", "answer":"1", "part":"3"},
        {"type":"1", "answer":"1", "part":"4"},
        {"type":"2", "answer":"1", "part":"4"},
        {"type":"1", "answer":"1", "part":"5"},
        {"type":"2", "answer":"1", "part":"5"}
    ]
}
#step
webAnchorDemandInducing 主播的需求引导
请求参数:
{
    "step": "webAnchorDemandInducing",
    "name": "1",
    "background": "",
    "belongs": 1,
    "questionList": []
}

页面列表

ITEM_HTML