新增好友赠送验收模式支持打手资料提交加好友冷却与模板配置

This commit is contained in:
yml2213
2026-08-22 11:19:49 +08:00
parent ba35d27976
commit 6aec4a7b40
36 changed files with 1646 additions and 52 deletions
+11
View File
@@ -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`,