import request from '@/utils/request'

// 师傅列表
export function apiMasterWorkerLists(params: any) {
    return request.post({ url: '/staff/list', params })
}

// 师傅详情
export function apiMasterWorkerDetail(params: any) {
    return request.get({ url: '/staff/detail', params })
}

// 师傅添加
export function apiMasterWorkerAdd(params: any) {
    return request.post({ url: '/staff/add', params })
}

// 师傅编辑
export function apiMasterWorkerEdit(params: any) {
    return request.post({ url: '/staff/edit', params })
}

// 师傅状态
export function apiMasterWorkerStatusEdit(params: any) {
    return request.post({ url: '/staff/status', params })
}

// 师傅删除
export function apiMasterWorkerDel(params: any) {
    return request.get({ url: '/staff/del', params })
}
