catchAdmin/catch/login/route.php

12 lines
344 B
PHP
Raw Normal View History

2019-12-02 23:04:43 +08:00
<?php
# 登陆页面
2019-12-12 18:52:56 +08:00
$router->get('login', '\catchAdmin\login\controller\Index@index');
2019-12-02 23:04:43 +08:00
# 登入
2019-12-12 18:52:56 +08:00
$router->post('login', '\catchAdmin\login\controller\Index@login');
2019-12-02 23:04:43 +08:00
# 登出
2019-12-12 18:52:56 +08:00
$router->post('logout', '\catchAdmin\login\controller\Index@logout');
# 验证码
$router->get('catch/captcha/[:config]','\catchAdmin\login\controller\Index@captcha');