forum arrar filtr

This commit is contained in:
zhao 2020-02-27 14:38:50 +08:00
parent f4c0fd4054
commit 9346ea8aa1

View File

@ -295,4 +295,11 @@ class Forum extends AdminController
return json(['code'=>-1,'msg'=>'审核出错']);
}
}
//array_filter过滤函数
public function filtr($arr){
if($arr === '' || $arr === null){
return false;
}
return true;
}
}