修改中间件
This commit is contained in:
parent
b1efecb351
commit
8a31920b9d
@ -2,7 +2,7 @@
|
||||
|
||||
namespace app\http\middleware;
|
||||
|
||||
class checkLogin
|
||||
class CheckLogin
|
||||
{
|
||||
public function handle($request, \Closure $next)
|
||||
{
|
@ -16,6 +16,6 @@ return [
|
||||
// 默认中间件命名空间
|
||||
'default_namespace' => 'app\\http\\middleware\\',
|
||||
'auth' => \think\permissions\PermissionMiddleware::class,
|
||||
'checkLogin' => app\http\middleware\checkLogin::class,
|
||||
'checkLogin' => app\http\middleware\CheckLogin::class,
|
||||
'logRecord' => app\http\middleware\LogRecord::class,
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user