fix(fulfillment): 支持重开未过期支付二维码并展示具体待人工原因
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user