fix(fulfillment): 支持重开未过期支付二维码并展示具体待人工原因

This commit is contained in:
yml
2026-11-28 14:11:21 +08:00
parent 20314a2f1d
commit 2013a9bdeb
9 changed files with 302 additions and 64 deletions
@@ -73,16 +73,10 @@ 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",
"customer_role_bound_elsewhere",
"account_role_bound_elsewhere",
}:
return "binding_failed"
if issue in {"lease_expired", "manual_required"}:
return "account_cooldown"
if issue and issue != "manual_required":
return issue
if issue == "manual_required":
return "manual_required"
return "other_manual"