xiangpei
2024-06-03 708294da8c6297fde8629ddf712f9c5bb2b0b6cf
1
2
3
4
5
6
7
8
9
10
import { post, get } from '@/utils/request'
 
export default {
  list: query => post('/api/admin/education/subject/list'),
  pageList: query => post('/api/admin/education/subject/page', query),
  edit: query => post('/api/admin/education/subject/edit', query),
  select: id => post('/api/admin/education/subject/select/' + id),
  selectByDeptId: deptId => get('/api/admin/education/subject/select/dept/' + deptId),
  deleteSubject: id => post('/api/admin/education/subject/delete/' + id)
}