checkMaintain(); if($chm['is_maintain']){ if($chm['openid']){ //解析openid if(!in_array(index_user_openid(), explode(',',$chm['openid']))){ //白名单之外维护中 //Tools::log_to_write_txt([ // '维护测试'=>$chm['openid'], // 'my'=>index_user_openid() //]); return $this->error($chm['msg']); } }else{ //不存在,直接维护中 return $this->error($chm['msg'].'!'); } } //校验系统维护状态 end } }