修复:支持腾讯云 EdgeOne EO-Client-IP 头部,重构中间件真实IP获取优先级

This commit is contained in:
2026-03-12 07:16:32 +08:00
parent 174ee8241d
commit f1062b34d2
2 changed files with 14 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ Route::post('/login', [AuthController::class, 'login'])->name('login.post');
// 处理退出登录
Route::post('/logout', [AuthController::class, 'logout'])->name('logout');
// 聊天室系统内部路由 (需要鉴权)
Route::middleware(['chat.auth'])->group(function () {
// ---- 第六阶段:大厅与房间管理 ----