import { post } from '@/utils/request'
|
|
export default {
|
list: query => post('/api/admin/education/department/list'),
|
pageList: query => post('/api/admin/department/page/list', query),
|
edit: query => post('/api/admin/department/update', query),
|
select: id => post('/api/admin/department/get/' + id),
|
deleteSubject: id => post('/api/admin/education/department/delete/' + id),
|
addData:query=>post('/api/admin/department/add',query)
|
}
|