From 70370be9f2d6a45c5752e18b7e9b127174f7e3c6 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 16 五月 2024 18:05:18 +0800
Subject: [PATCH] fix:修改学习文件

---
 src/api/question.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/api/question.js b/src/api/question.js
index f28d6ce..7d983a9 100644
--- a/src/api/question.js
+++ b/src/api/question.js
@@ -1,8 +1,10 @@
-import { post } from '@/utils/request'
+import { post, download } from '@/utils/request'
 
 export default {
   pageList: query => post('/api/admin/question/page', query),
   edit: query => post('/api/admin/question/edit', query),
   select: id => post('/api/admin/question/select/' + id),
-  deleteQuestion: id => post('/api/admin/question/delete/' + id)
+  deleteQuestion: id => post('/api/admin/question/delete/' + id),
+  downloadImportTemplate: () => download('/api/admin/question/download/question/import/temp'),
+  exportQuestion: query => download('/api/admin/question/question/export', query)
 }

--
Gitblit v1.8.0