Index.php 405 B

123456789101112131415161718192021222324252627
  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 Index extends BaseController
  12. {
  13. public function index()
  14. {
  15. // return 'hello-admin';
  16. return View::fetch('');
  17. }
  18. public function welcome()
  19. {
  20. return View::fetch();
  21. }
  22. }