From 55b2e475da98ae7bf13a4ecd50eb8a278aeeeee3 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期三, 30 十月 2024 09:53:48 +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