优化(斗鱼领取): 租约过期绑定失败时允许客户刷新二维码重试

This commit is contained in:
yml
2026-11-25 13:37:41 +08:00
parent 15e23312f6
commit be9a1011a8
2 changed files with 5 additions and 2 deletions
@@ -164,7 +164,9 @@ export default function DouyuFulfillmentPage() {
)
const needsProfile = Boolean(task && !hasCustomerProfile)
const bindingFailed = Boolean(live && BINDING_FAILURE_ISSUES.has(live.issueCode))
const bindingFailureRetryable = Boolean(live?.issueCode === 'binding_failed' && live.accountReady)
const bindingFailureRetryable = Boolean(
hasCustomerProfile && ['binding_failed', 'lease_expired'].includes(live?.issueCode || ''),
)
useEffect(() => {
const url = live?.qrUrl || ''
@@ -490,7 +492,7 @@ export default function DouyuFulfillmentPage() {
/>
<p>
{bindingFailureRetryable
? '请刷新二维码后重新扫码,不会更换当前斗鱼账号。'
? '刷新后会重新分配可用斗鱼账号并生成新二维码,请重新扫码。'
: '请截图本页面并联系客服处理,客服会根据截图重新安排绑定。'}
</p>
{bindingFailureRetryable ? (