route.php 300 B

12345678910
  1. <?php
  2. $router->group(function () use ($router){
  3. # 登入
  4. $router->post('login', '\catchAdmin\login\controller\Index@login');
  5. $router->post('logout', '\catchAdmin\login\controller\Index@logout');
  6. $router->post('refresh/token', '\catchAdmin\login\controller\Index@refreshToken');
  7. });