From 306b1433c6a4d1fcce6871d94dc47af8e6f550cc Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 30 五月 2024 15:50:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/api/question.js b/src/api/question.js
index a57710b..27a3121 100644
--- a/src/api/question.js
+++ b/src/api/question.js
@@ -1,9 +1,10 @@
-import { post, download } from '@/utils/request'
+import { post, download, downloadPost } 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),
-  downloadImportTemplate: () => download('/api/admin/question/download/question/import/temp')
+  downloadImportTemplate: () => download('/api/admin/question/download/question/import/temp'),
+  exportQuestion: query => downloadPost('/api/admin/question/question/export', query)
 }

--
Gitblit v1.8.0