feat(player, i18n): add error code mappings and back to main site button
1. 新增8001-8005业务错误码的国际化翻译与映射 2. 增加返回主站按钮,根据环境变量显示 3. 重构错误码匹配逻辑,复用常量对象
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
"check": "Check",
|
||||
"reason": "Reason"
|
||||
},
|
||||
"reenter": "Re-enter"
|
||||
"reenter": "Re-enter",
|
||||
"backToMainSite": "Back to main site"
|
||||
},
|
||||
"success": {
|
||||
"title": "Authorization successful!",
|
||||
@@ -60,6 +61,11 @@
|
||||
"tryLater": "Please try again later",
|
||||
"http401": "Token is invalid or expired",
|
||||
"http403": "Account has been blocked",
|
||||
"http404": "Account not found in the system"
|
||||
"http404": "Account not found in the system",
|
||||
"player8001": "Missing or invalid Authorization",
|
||||
"player8002": "Token invalid, expired, malformed, or exceeding the allowed time window (e.g. >5 min)",
|
||||
"player8003": "Player not registered (dev token only)",
|
||||
"player8004": "SSO not configured on lottery server",
|
||||
"player8005": "Account suspended or unavailable"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user