作者 lyh

gx

... ... @@ -22,7 +22,6 @@ class LoginAuthMiddleware
*/
public function handle(Request $request, Closure $next)
{
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(1111, true) . PHP_EOL, FILE_APPEND);
$token = $request->header('token');
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($token, true) . PHP_EOL, FILE_APPEND);
$info = Cache::get($token);
... ...