export default [ // 获取考试试卷 { url: '/api/v1/getExamInfo', method: 'GET', response: () => { return { code: 200, msg: 'Success', data: { examInfo: { id: 1, name: '考试1', startTime: '2019-01-01 00:00:00', endTime: '2019-01-01 00:00:00', examQuestionList: [ { questionType: 1, questionList: [ { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?123", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "3", "difficult": 5 }, { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "3", "difficult": 5 } ] }, { questionType: 2, questionList: [ { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "5", "difficult": 5 }, { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "5", "difficult": 5 }, { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "5", "difficult": 5 }, { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "1+1=?", "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "5", "difficult": 5 } ] }, { questionType: 3, questionList: [ { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "测试音频1", "audioFile": '/test.mp3', "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "3", "difficult": 5 }, { "id": null, "questionType": 1, "gradeLevel": null, "subjectId": 2, "title": "测试音频2", "audioFile": '/test.mp3', "items": [ { "prefix": "A", "content": "1" }, { "prefix": "B", "content": "2" }, { "prefix": "C", "content": "3" }, { "prefix": "D", "content": "4" } ], "analyze": "问小朋友", "correct": "", "score": "3", "difficult": 5 } ] }, ] } } }; } }, // 获取考试列表 { url: '/api/v1/getExamList', method: 'GET', response: () => { return { code: 200, msg: 'Success', 'data|2-8': [ { 'id|+1': 1, name: '测试测试测试测试测试测试', startTime: '2024-01-01 09:00:00', endTime: '2024-01-01 11:00:00', // 1:未开始 // 2:进行中 // 3:已结束 'status|1': [ 1, 2, 3 ], 'examTotal|20-60': 20, 'examTime|30-120': 120, 'examScore|60-100': 100 } ] } } } ];