导出权限bug修改

master
zyx 5 years ago
parent 301a5a7f5a
commit ee9f53ce0b

@ -652,10 +652,6 @@ class AdminController extends Controller {
$countRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_count_check");
$this->assign($countfield,$this->checkRule($countRule,array('in','1,2')));
if (is_array($checkarr)&&!$checkarr) {
return;
}
//验证list
$listrule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_list_check");
$listflag = $this->checkRule($listrule,array('in','1,2'));
@ -670,6 +666,11 @@ class AdminController extends Controller {
};
}
}
if (is_array($checkarr)&&!$checkarr) {
return;
}
if(!$listflag){
$map["_string"] = "1=0";
}

Loading…
Cancel
Save