作者 lyh

gx

@@ -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);