From f8289e778a1ae84a3ecda75cf1c9ff3e9d7ca3a8 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 29 十月 2024 14:43:32 +0800
Subject: [PATCH] 正式环境

---
 src/api/examPaper.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/api/examPaper.js b/src/api/examPaper.js
index 1a11e5c..32c1b7a 100644
--- a/src/api/examPaper.js
+++ b/src/api/examPaper.js
@@ -1,4 +1,4 @@
-import { post,get } from '@/utils/request'
+import { post, get, download } from '@/utils/request'
 
 export default {
   pageList: query => post('/api/admin/exam/paper/page', query),
@@ -7,4 +7,6 @@
   select: id => post('/api/admin/exam/paper/select/' + id),
   deletePaper: id => post('/api/admin/exam/paper/delete/' + id),
   myExamPaperList: param => get('/api/admin/exam/paper/my', param),
+  downloadImportTemplate: () => download('/api/admin/exam/paper/download/importTemplate'),
+  import: query => post('/api/admin/exam/paper/import', query),
 }

--
Gitblit v1.8.0