|
|
|
@ -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";
|
|
|
|
|
}
|
|
|
|
|