refactor: 重构语言协商中间件,简化语言解析逻辑并增强异常处理,更新相关配置以支持多环境开发

This commit is contained in:
2026-05-08 17:40:09 +08:00
parent 85e57782cc
commit e478597d13
11 changed files with 295 additions and 54 deletions

View File

@@ -35,7 +35,7 @@ return [
/*
| player_auth配合 app/Services/PlayerTokenResolver.php
|
| dev_bypass仅当 APP_ENV=local LOTTERY_PLAYER_AUTH_DEV_BYPASS=true 时,
| dev_bypass仅当 APP_ENV{local, testing} LOTTERY_PLAYER_AUTH_DEV_BYPASS=true 时,
| 允许 Authorization: Bearer dev:{players.id}
| jwt.* :主站签发的 JWT 内取站点、玩家字段的路径名(与主站约定一致)
*/