本文档由 【技术部】 手动编写,如有疑义,请及时反馈修改,文档内部访问,无必要禁止外部分享!
curl --location --request GET 'http://devnewoj.saikr.com/api/task_detail?courseId=&taskId='
成功返回:
{
"code": 0,
"message": "success",
"data": {
"courseId": "576",
"taskId": "2186",
"testpaperLength": 0,
"testpaperStartTime": "",
"testpaperEndTime": "",
"isCanExam": true,
"testpaperStatus": "undone",
"testMode": "normal",
"testpaperData": {
"name": "试卷名称",
"itemCount": "8",
"score": "16.0",
"finishScore": "10",
"limitedTime": "0",
"description": "考试描述",
"testExplain": "本次考试共8题,总分16.0分,及格为10分;仅有一次考试机会。",
"doTimes": "1"
},
"example": {
"id": "123",
"audioUrl": "https://devqiniu.saikr.com/files/course/2021/07-20/10394400339d704110.mp3"
}
}
}
失败返回:
{
"code": 101,
"message": "courseId为空",
"data": []
}
{
"code": 102,
"message": "taskId为空",
"data": []
}
{
"code": 103,
"message": "该学生还未加入课程",
"data": []
}
扫码下载 赛氪APP
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升