From 02b9931c5e3a54d69d4d20a9dc6aad141fc35141 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 15 八月 2024 11:37:14 +0800 Subject: [PATCH] 恢复举手,隐藏举手顶部显示 --- src/api/modules/exam.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/api/modules/exam.js b/src/api/modules/exam.js index 287e89a..bf3fab4 100644 --- a/src/api/modules/exam.js +++ b/src/api/modules/exam.js @@ -1,6 +1,17 @@ import service from "@/api"; +export const getExamList = (postData = {examName: ''}) => { + return service.post('/api/student/exam/page',postData); +} -export const getExamList = () => { - return service.get('/api/v1/getExamList'); +export const getExamInfo = (id) => { + return service.post('/api/student/exam/start/' + id); +} + +export const submitExam = (postData) => { + return service.post('/api/student/exam/submit', postData); +} + +export const saveExam = (postData) => { + return service.post('/api/student/exam/timing', postData); } \ No newline at end of file -- Gitblit v1.8.0