IndexController.php 613 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecadmin\controllers;
  10. use Yii;
  11. use yii\helpers\Url;
  12. use fecadmin\FecadminbaseController;
  13. /**
  14. * @author Terry Zhao <2358269014@qq.com>
  15. * @since 1.0
  16. */
  17. class IndexController extends FecadminbaseController
  18. {
  19. public function actionIndex()
  20. {
  21. //echo 1;exit;
  22. $this->layout = "dashboard.php";
  23. return $this->render('index');
  24. }
  25. public function actionMenu()
  26. {
  27. echo 2;exit;
  28. }
  29. }