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(() => {