标签: laravel-5.2 jwt
我正在使用Tymon pkg用于JWT,在Kernel.php我喜欢这样:
Tymon
Kernel.php
protected $routeMiddleware = [ 'jwt.auth' => \Tymon\JWTAuth\Middleware\GetUserFromToken::class, 'jwt.refresh' => \Tymon\JWTAuth\Middleware\RefreshToken::class, ...
如何更改中间件?