LogController.php 615 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 fec\helpers\CUrl;
  13. use fecadmin\FecadminbaseController;
  14. /**
  15. * @author Terry Zhao <2358269014@qq.com>
  16. * @since 1.0
  17. */
  18. class LogController extends FecadminbaseController
  19. {
  20. # LOG绠$悊
  21. public function actionIndex()
  22. {
  23. $data = $this->getBlock()->getLastData();
  24. return $this->render($this->action->id,$data);
  25. }
  26. }