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), }