Loginlog.php 631 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\admin\controller\csmadmin;
  3. use app\common\controller\Backend;
  4. /**
  5. * 管理员扩展管理
  6. *
  7. * @icon fa fa-circle-o
  8. */
  9. class Loginlog extends Backend
  10. {
  11. /**
  12. * Loginlog模型对象
  13. *
  14. * @var \app\admin\model\csmadmin\Loginlog
  15. */
  16. protected $model = null;
  17. public function _initialize()
  18. {
  19. parent::_initialize();
  20. $this->model = new \app\admin\model\csmadmin\Loginlog();
  21. $this->view->assign("logintypeList", $this->model->getLogintypeList());
  22. $this->view->assign("statusList", $this->model->getStatusList());
  23. }
  24. }