fix(fulfillment): 角色 7 天锁命中时转人工
- 角色 pending 时查 7 天内是否已绑定其他斗鱼账号 - 命中不调 actBind,订单转 manual_required - 时间线记录原账号、绑定时间、可复用时间和占用业务 - 确认前和启动对账补充校验,避免存量订单继续尝试 - 补充同账号、超窗口、确认前和启动对账回归测试
This commit is contained in:
@@ -73,7 +73,12 @@ def manual_reason(issue_code: str, exchange_status: str) -> str:
|
||||
return "elite_not_opened"
|
||||
if issue == "commodity_limit_reached" or exchange == "limited":
|
||||
return "limit_reached"
|
||||
if issue in {"binding_failed", "account_role_cooldown", "customer_role_cooldown"}:
|
||||
if issue in {
|
||||
"binding_failed",
|
||||
"account_role_cooldown",
|
||||
"customer_role_cooldown",
|
||||
"customer_role_bound_elsewhere",
|
||||
}:
|
||||
return "binding_failed"
|
||||
if issue in {"lease_expired", "manual_required"}:
|
||||
return "account_cooldown"
|
||||
|
||||
Reference in New Issue
Block a user