信呼v2.5.3版本

This commit is contained in:
雨中磐石
2023-02-16 16:04:13 +08:00
parent 6bd0ce491e
commit 117f629dcc
26 changed files with 217 additions and 23 deletions

View File

@@ -475,9 +475,9 @@ class adminClassModel extends Model
//读取我可查看权限
if(contain($where,'1=1')){
$where = '';
if($this->rock->get('gtype')=='change'){
//$this->allshow = true;
//if(!ISMORECOM && c('cache')->get('deptuserjson'))return array();
if($this->rock->get('gtype')=='change' && getconfig('userhoucache')=='1'){
$this->allshow = true;
if(!ISMORECOM && c('cache')->get('deptuserjson'))return array();
}
}else{
$where = 'and ((1 '.$where.') or (`id`='.$uid.'))';