feat: 首页接单开关接入服务端落库
This commit is contained in:
@@ -42,6 +42,8 @@ const API = {
|
||||
// 当前账号的员工档案:登录即可访问,用于判定在职陪诊员身份
|
||||
employee: {
|
||||
getMe: () => request.get('/health/employee/me'),
|
||||
// 首页接单开关:仅在职正式陪诊师可切换
|
||||
setOnline: (isOnline) => request.patch('/health/employee/me/online', { isOnline }),
|
||||
// 共享订单时的陪诊师候选(在职陪诊师,含实习)
|
||||
getShareableAttendants: () => request.get('/health/employee/shareable-attendants'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user