diff --git a/apps/backend/src/services/claim/kuaishou-cloud-claim-service.ts b/apps/backend/src/services/claim/kuaishou-cloud-claim-service.ts index 834fefe2..23123d21 100644 --- a/apps/backend/src/services/claim/kuaishou-cloud-claim-service.ts +++ b/apps/backend/src/services/claim/kuaishou-cloud-claim-service.ts @@ -516,6 +516,10 @@ async function bindAffiliateDashClaimForTask(task: TaskRow, gameAccount: string) qrUrl: bindResult.qrUrl, gameAccount, expectedGameAccount: gameAccount, + // 重新绑定:清空旧绑定状态,等待用户用新账号扫码完成新绑定 + bound: false, + boundAccount: '', + bindMismatch: false, } const updatedTask = await updateTask(task.id, { diff --git a/apps/frontend/src/pages/claim/ClaimAffiliateDashSteps.tsx b/apps/frontend/src/pages/claim/ClaimAffiliateDashSteps.tsx index bae95c94..061e26f9 100644 --- a/apps/frontend/src/pages/claim/ClaimAffiliateDashSteps.tsx +++ b/apps/frontend/src/pages/claim/ClaimAffiliateDashSteps.tsx @@ -35,9 +35,15 @@ export function AffiliateDashClaimPanel({
- {bound ? '第 3 步:确认并提交发货' : '第 2 步:绑定领取账号'} + {bound && !bindMismatch ? '第 3 步:确认并提交发货' : '第 2 步:绑定领取账号'} -

{bound ? '账号绑定成功,确认无误后提交发货' : '打开绑定链接完成绑定,系统将自动确认'}

+

+ {bound && !bindMismatch + ? '账号绑定成功,确认无误后提交发货' + : bindMismatch + ? '绑定账号与填写 UID 不一致,请核对 UID 后用正确账号重新绑定' + : '打开绑定链接完成绑定,系统将自动确认'} +