feat: 增强玩家端 API 鉴权中间件,支持多语言错误消息返回

This commit is contained in:
2026-05-08 15:20:36 +08:00
parent 9f8080cefe
commit fc0999664a
9 changed files with 199 additions and 4 deletions

11
lang/zh/sso.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
/**
* 【简体中文】同上,参见 lang/en/sso.php 注释。
*/
return [
'8001' => '缺少或无效的 Authorization',
'8002' => '令牌无效或已过期',
'8003' => '玩家未建档',
'8004' => '未配置 SSO 密钥',
];