新增打手改昵称卡功能默认一张且一年冷却
This commit is contained in:
@@ -194,6 +194,13 @@ export function changeWorkerPassword(payload: { currentPassword: string; newPass
|
||||
)
|
||||
}
|
||||
|
||||
export function renameWorkerAccount(payload: { displayName: string }) {
|
||||
return apiPost<{ worker: WorkerUser; reloginRequired: boolean }>(
|
||||
'/api/v1/worker/profile/rename',
|
||||
payload,
|
||||
)
|
||||
}
|
||||
|
||||
export function fetchWorkerHallOrders(params?: Record<string, unknown>) {
|
||||
return apiGet<WorkerHallOrdersResponse>('/api/v1/worker/hall/orders', params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user