Files
xinhu/webmain/we/logn/lognAction.php
2022-08-14 16:47:40 +08:00

29 lines
568 B
PHP

<?php
class lognClassAction extends ActionNot{
public function initAction()
{
$this->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);
}
}