catchAdmin/catch/login/route.php
2019-12-22 09:37:52 +08:00

12 lines
344 B
PHP

<?php
# 登陆页面
$router->get('login', '\catchAdmin\login\controller\Index@index');
# 登入
$router->post('login', '\catchAdmin\login\controller\Index@login');
# 登出
$router->post('logout', '\catchAdmin\login\controller\Index@logout');
# 验证码
$router->get('catch/captcha/[:config]','\catchAdmin\login\controller\Index@captcha');