import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/api/webapp/` + url, ...arg)

/**
 * t_exam_paperApi接口管理器
 *
 * @author zss
 * @date  2025/07/07 10:10
 **/
export default {
	pageList: (data) => request('api/admin/exam/paper/page', data, 'post'),
	taskExamPage: (query) => request('api/admin/exam/paper/taskExamPage', query, 'post'),
	edit: (query) => request('api/admin/exam/paper/edit', query, 'post'),
	select: (id) => request('api/admin/exam/paper/select/' + id, '', 'post'),
	deletePaper: (id) => request('api/admin/exam/paper/delete/' + id, '', 'post')
}
