新增好友赠送验收模式支持打手资料提交加好友冷却与模板配置
This commit is contained in:
@@ -288,6 +288,17 @@ export function submitWorkerAcceptance(
|
||||
)
|
||||
}
|
||||
|
||||
/** 好友赠送模式:提交打手本人资料(昵称/ID/区服/系统 + 主页截图) */
|
||||
export function submitWorkerGiftMaterial(
|
||||
workOrderId: number,
|
||||
payload: { fields: Record<string, string>; screenshots: UploadedFile[]; note?: string },
|
||||
) {
|
||||
return apiPost<{ order: WorkOrder }>(
|
||||
`/api/v1/worker/orders/${workOrderId}/gift-material`,
|
||||
payload,
|
||||
)
|
||||
}
|
||||
|
||||
export function remindWorkerAcceptance(workOrderId: number) {
|
||||
return apiPost<{ reminderCount: number; nextRemindAt: string }>(
|
||||
`/api/v1/worker/orders/${workOrderId}/remind-acceptance`,
|
||||
|
||||
Reference in New Issue
Block a user