xiangpei
2024-07-11 fd009a8f5a26764169a15bd2a1208e8077a5714d
1
2
3
4
5
6
7
8
9
10
11
12
import { post, get, download } from '@/utils/request'
 
export default {
  pageList: query => post('/api/admin/exam/paper/page', query),
  addPaper: query => post('/api/admin/exam/paper/addPaper', query),
  edit: query => post('/api/admin/exam/paper/edit', query),
  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),
}