发布v2.5.5版本

This commit is contained in:
雨中磐石
2023-04-05 13:00:20 +08:00
parent bc69541c7b
commit 33ce4c6298
102 changed files with 570 additions and 280 deletions

View File

@@ -175,6 +175,7 @@ class indexreimClassAction extends apiAction
$arr['outunum'] = $this->option->getval('outunum'.$this->adminid.'');
$arr['outgroupopen'] = $this->option->getval('outgroupopen'.$this->adminid.'');
$arr['tonghuabo'] = getconfig('video_bool') ? '1' : '2';//是否开启音视频
$arr['lxrshow'] = ($this->option->getval('appsy_lxrshow')!='否') ? 1 : 2;
$this->showreturn($arr);
}

View File

@@ -260,6 +260,7 @@ class loginClassAction extends apiAction
$mobile = $this->get('mobile');
if(!$openid || !$mobile)return returnerror('err');
$mobile = $this->jm->base64decode($mobile);
if(!c('check')->iscnmobile($mobile))return returnerror('err2');
$where = "`mobile`='$mobile'";
if(m('admin')->rows($where)==0 && m('customer')->rows($where)==0 )return retuenerror('此手机号没在我们系统登记过');
$na = getconfig('titleout');

View File

@@ -540,7 +540,7 @@ class uploadClassAction extends apiAction
$where = '`id` in(select `fileid` from `[Q]word` where `type`=0 '.$str.' )';
}
if($key){
$key = $this->jm->base64decode($key);
$key = $this->rock->xssrepstr($this->jm->base64decode($key));
$where.=" and `filename` like '%".$key."%'";
}
if($uptp && $uptp!='*'){