catchAdmin/catch/login/route.php

10 lines
300 B
PHP
Raw Normal View History

2020-04-29 17:37:45 +08:00
<?php
2020-06-24 08:47:46 +08:00
$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');
2020-06-24 09:09:10 +08:00
});
2020-06-24 08:47:46 +08:00
2020-04-29 17:37:45 +08:00