正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -22,7 +22,6 @@ class LoginAuthMiddleware | @@ -22,7 +22,6 @@ class LoginAuthMiddleware | ||
| 22 | */ | 22 | */ |
| 23 | public function handle(Request $request, Closure $next) | 23 | public function handle(Request $request, Closure $next) |
| 24 | { | 24 | { |
| 25 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(1111, true) . PHP_EOL, FILE_APPEND); | ||
| 26 | $token = $request->header('token'); | 25 | $token = $request->header('token'); |
| 27 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($token, true) . PHP_EOL, FILE_APPEND); | 26 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($token, true) . PHP_EOL, FILE_APPEND); |
| 28 | $info = Cache::get($token); | 27 | $info = Cache::get($token); |
-
请 注册 或 登录 后发表评论