mweblogin(0, true); } public function defaultAction() { $randkey = $this->get('randkey'); $dfrom = $this->get('dfrom','reim'); if(isempt($randkey))exit('无效访问'); $db = m('admin'); $urs = $db->getone($this->adminid,'name,face'); $urs['face'] = $db->getface($urs['face']); $urs['randkey'] = $randkey; c('cache')->set($randkey,'0',60); $this->assign('urs', $urs); $this->assign('dfrom', $dfrom); } }