From 0cefa99d2ae9ba43e60fe3e1beceb000dd186931 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 17 十月 2024 18:31:03 +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