Login.php 402 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Created by PhpStorm
  4. * User: 林志杰
  5. * Email: [email protected]
  6. * Time: 2020/1/2 12:58
  7. */
  8. namespace app\admin\controller;
  9. use app\BaseController;
  10. use think\facade\View;
  11. class Login extends BaseController
  12. {
  13. public function index()
  14. {
  15. return View::fetch();
  16. }
  17. public function check()
  18. {
  19. return show(config('status.success'), '登陆成功');
  20. }
  21. }