DefaultController.php 564 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace company\modules\manage\controllers;
  3. use yii\web\Controller;
  4. use company\modules\manage\controllers\LoginverifyController;
  5. /**
  6. * Default controller for the `mamage` module
  7. */
  8. class DefaultController extends LoginverifyController
  9. {
  10. public $layout ='iframe';
  11. /**
  12. * Renders the index view for the module
  13. * @return string
  14. */
  15. public function actionIndex()
  16. {
  17. $this->layout = 'hplus';
  18. return $this->render('index');
  19. }
  20. public function actionHome(){
  21. return $this->render('home');
  22. }
  23. }