优化打手提现审核流程

This commit is contained in:
yml2213
2026-08-17 11:18:14 +08:00
parent 9ed2e0d4fe
commit ea5c2a4105
13 changed files with 623 additions and 138 deletions
+10 -3
View File
@@ -83,9 +83,7 @@ export function createWorkerRechargeRequest(payload: {
export function createWorkerWithdrawRequest(payload: {
amount?: number
accountChannel?: string
accountName?: string
accountNo?: string
accountChannel: string
note?: string
}) {
return apiPost<{ request: WorkerFinanceRequest }>(
@@ -94,6 +92,15 @@ export function createWorkerWithdrawRequest(payload: {
)
}
export function createWorkerWithdrawalAccount(payload: {
accountChannel: string
accountName: string
accountNo?: string
wechatQrCodeImages?: UploadedFile[]
}) {
return apiPost('/api/v1/worker/profile/withdrawal-account', payload)
}
export function changeWorkerPassword(payload: { currentPassword: string; newPassword: string }) {
return apiPost<{ worker: WorkerUser; reloginRequired: boolean }>(
'/api/v1/worker/profile/change-password',