Index.php 327 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\index\controller;
  3. use app\common\controller\Frontend;
  4. class Index extends Frontend
  5. {
  6. protected $noNeedLogin = '*';
  7. protected $noNeedRight = '*';
  8. protected $layout = '';
  9. public function index()
  10. {
  11. return $this->redirect('/blog');
  12. return $this->view->fetch();
  13. }
  14. }