public function _initialize(){
        if(!$_SESSION['username']){
            $this->error('请先登录',U('Admin/Login/index'));
        }
    } ​​​​

相关文章:

  • 2022-01-13
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-09-30
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案