import { get, post } from '@/utils/request' export default { list: query => post('/api/admin/subject/list'), pageList: query => post('/api/admin/subject/page', query), edit: query => post('/api/admin/subject/edit', query), updateStatus: query => post('/api/admin/subject/status', query), select: id => post('/api/admin/subject/select/' + id), deleteSubject: id => post('/api/admin/subject/delete/' + id), getItemOrder: id => get('/api/admin/subject/getItemOrder') }