xiangpei
2024-07-08 154891cce3b3cce34c300a225a7a14e5a8893cf5
src/api/question.js
@@ -1,4 +1,4 @@
import { post, download } from '@/utils/request'
import { post, download, downloadPost } from '@/utils/request'
export default {
  pageList: query => post('/api/admin/question/page', query),
@@ -6,5 +6,5 @@
  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'),
  exportQuestion: query => download('/api/admin/question/question/export', query)
  exportQuestion: query => downloadPost('/api/admin/question/question/export', query)
}