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

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

export default {
	pageList: (query) => request('api/student/exampaper/answer/pageList', query, 'post'),
	answerSubmit: (form) => request('api/student/exampaper/answer/answerSubmit', form, 'post'),
	read: (id) => request('api/student/exampaper/answer/read/' + id, '', 'post'),
	edit: (form) => request('api/student/exampaper/answer/edit', form, 'post')
}
