catchAdmin/catch/login/route.php
2021-04-01 18:39:11 +08:00

13 lines
333 B
PHP

<?php
/* @var think\Route $router */
$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');
});