From 6ab6b35fe3ac1ce90711e3555b19dde8ce1e21dc Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 26 六月 2024 17:43:12 +0800
Subject: [PATCH] feat:对接考试

---
 src/api/modules/exam.js |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/api/modules/exam.js b/src/api/modules/exam.js
index 1df7671..ce76409 100644
--- a/src/api/modules/exam.js
+++ b/src/api/modules/exam.js
@@ -1,14 +1,9 @@
 import service from "@/api";
 
-
-export const getExamList = () => {
-  return service.get('/api/v1/getExamList');
-}
-
-export const getExamInfo = () => {
-  return service.get('/api/v1/getExamInfo');
-}
-
-export const getExamListV2 = (postData = {examName: ''}) => {
+export const getExamList = (postData = {examName: ''}) => {
   return service.post('/api/student/exam/page',postData);
+}
+
+export const getExamInfo = (id) => {
+  return service.post('/api/student/exam/start/' + id);
 }
\ No newline at end of file

--
Gitblit v1.8.0