信呼v2.5.1版本

This commit is contained in:
雨中磐石
2022-11-17 16:20:57 +08:00
parent 44100a4ab9
commit f4d68700c7
65 changed files with 1642 additions and 245 deletions

View File

@@ -36,7 +36,7 @@ class apiAction extends ActionNot
$this->adminname = '';
$boss = (M == 'login|api');
if(!$boss){
if($this->isempt($this->token))$this->showreturn('','token invalid', 199);
if(isempt($this->token))$this->showreturn('','token invalid', 199);
$lodb = m('login');
$onto = $lodb->getone("`uid`='$this->adminid' and `token`='$this->token' and `online`=1");
if(!$onto)$this->showreturn('','登录失效,请重新登录', 199);