Exemplo n.º 1
0
 public function action()
 {
     //页面展示
     $IndexModel = new AdminLoginModel();
     $result = $IndexModel->getResult();
     $tplVar = array('params' => $result['params']);
     $this->tpl->assign($tplVar);
     $this->tpl->display('admin_login.tpl');
 }