修复(履约确认): 扫码角色消失不再误报客户冷却

- confirm 找不到已识别角色时归为 role_changed
- 客户页/工作台允许刷新二维码重新扫码
- 保留账号,避免角色变化被当成换绑冷却
- 补充角色消失分类测试
This commit is contained in:
yml
2026-11-25 14:22:58 +08:00
parent 2d7f605270
commit 3d8a3ff0fc
5 changed files with 63 additions and 3 deletions
@@ -133,7 +133,7 @@ async def customer_start_binding(
if not task.account_id or not task.lease_id:
if (
task.execution_status == "manual_required"
and task.issue_code in {"binding_failed", "lease_expired"}
and task.issue_code in {"binding_failed", "lease_expired", "role_changed"}
):
from .allocation import prepare_manual_allocation