catchAdmin/catch/login/route.php
2020-06-24 09:09:10 +08:00

10 lines
300 B
PHP

<?php
$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');
});