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

- 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
@@ -620,7 +620,7 @@ def prepare_manual_allocation(
task.execution_status == "manual_required"
and not task.account_id
and not task.lease_id
and task.issue_code in {"binding_failed", "lease_expired"}
and task.issue_code in {"binding_failed", "lease_expired", "role_changed"}
):
# 绑定失败账号已释放后,人工触发一次重新选号;
# 客户资料保留,分配成功后 auto allocator 会继续启动绑定。