新增事件监听

This commit is contained in:
JaguarJack
2020-06-24 09:09:10 +08:00
parent 8dfd4596be
commit 805b04a7f8
2 changed files with 8 additions and 1 deletions

View File

@@ -4,6 +4,6 @@ $router->group(function () use ($router){
$router->post('login', '\catchAdmin\login\controller\Index@login');
$router->post('logout', '\catchAdmin\login\controller\Index@logout');
$router->post('refresh/token', '\catchAdmin\login\controller\Index@refreshToken');
})->middleware('auth');
});