From 035702038771c506c6e029be4d40309cd9c4bd67 Mon Sep 17 00:00:00 2001 From: yml Date: Tue, 24 Nov 2026 22:37:49 +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=E7=BB=91=E5=AE=9A=E4=BB=BB=E5=8A=A1=E5=B7=B2?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=97=B6=E4=B8=8D=E8=AF=AF=E5=BD=92=E4=B8=BA?= =?UTF-8?q?=E5=87=86=E5=A4=87=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/services/douyu-fulfillment/douyu-fulfillment-service.ts | 2 ++ 1 file changed, 2 insertions(+) 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 adc33beb..9cc33a44 100644 --- a/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts +++ b/apps/backend/src/services/douyu-fulfillment/douyu-fulfillment-service.ts @@ -461,6 +461,7 @@ export function statusForLive(live: LiveBindingState): string { if (live.customerProfileReset === true) return 'waiting_profile' if (live.executionStatus === 'completed') return 'completed' if (live.executionStatus === 'cancelled') return 'cancelled' + const bindTaskFailed = ['failed', 'error', 'stopped'].includes(live.bindTaskStatus) const bindingStarted = live.bindingStatus !== 'not_started' || Boolean(live.bindTaskId) || @@ -469,6 +470,7 @@ export function statusForLive(live: LiveBindingState): string { live.bindConfirmed if ( live.bindingStatus === 'failed' || + bindTaskFailed || (BINDING_FAILURE_ISSUES.has(live.issueCode) && bindingStarted) ) { return 'failed'