xiangpei
2024-07-04 28e375f8c0782ed3476b2ba8c03e8b12e78690a4
1
2
3
4
5
6
7
8
9
10
11
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),
  select: id => post('/api/admin/subject/select/' + id),
  deleteSubject: id => post('/api/admin/subject/delete/' + id),
  updateStatus: query => post('/api/admin/subject/status', query),
  getItemOrder: id => get('/api/admin/subject/getItemOrder')
}