yudao-dev/src/api/base/worker.js

17 lines
330 B
JavaScript
Raw Normal View History

2023-10-24 15:16:20 +08:00
import request from '@/utils/request'
// 获得所有员工列表
export function getWorkerList() {
return request({
url: '/base/core-worker/listAll',
method: 'get'
})
}
// 获得员工
export function getWorker(query) {
return request({
url: '/base/core-worker/get',
method: 'get',
params: query
})
}