From 4e7145779f73b2353077ee18fd92e97500b382eb Mon Sep 17 00:00:00 2001 From: yml Date: Wed, 25 Nov 2026 14:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D(=E6=96=97=E9=B1=BC=E9=A2=86?= =?UTF-8?q?=E5=8F=96):=20=E6=89=AB=E7=A0=81=E8=A7=92=E8=89=B2=E6=B6=88?= =?UTF-8?q?=E5=A4=B1=E6=97=B6=E6=8F=90=E7=A4=BA=E5=88=B7=E6=96=B0=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=EF=BC=8C=E4=B8=8D=E8=AF=AF=E6=8A=A5=E5=86=B7?= =?UTF-8?q?=E5=8D=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/douyu-fulfillment/douyu-fulfillment-service.ts | 1 + .../src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts b/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts index 73f6d625..04cf6b4a 100644 --- a/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts +++ b/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts @@ -454,6 +454,7 @@ export function compareCustomerRole(task: DouyuTaskRow, live: LiveBindingState) const BINDING_FAILURE_ISSUES = new Set([ 'binding_failed', 'lease_expired', + 'role_changed', 'account_role_cooldown', 'customer_role_cooldown', ]) diff --git a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx index 703a5902..b54a59e4 100644 --- a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx +++ b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx @@ -165,7 +165,8 @@ export default function DouyuFulfillmentPage() { const needsProfile = Boolean(task && !hasCustomerProfile) const bindingFailed = Boolean(live && BINDING_FAILURE_ISSUES.has(live.issueCode)) const bindingFailureRetryable = Boolean( - hasCustomerProfile && ['binding_failed', 'lease_expired'].includes(live?.issueCode || ''), + hasCustomerProfile && + ['binding_failed', 'lease_expired', 'role_changed'].includes(live?.issueCode || ''), ) useEffect(() => {