| 123456 |
- import service from '@/utils/request'
- export const startShift = (data) => service({ url: '/shift/start', method: 'post', data })
- export const endShift = (data) => service({ url: '/shift/end', method: 'post', data })
- export const getCurrentShift = () => service({ url: '/shift/current', method: 'get' })
- export const getShiftList = (params) => service({ url: '/shift/list', method: 'get', params })
|