forum arrar filtr
This commit is contained in:
parent
f4c0fd4054
commit
9346ea8aa1
@ -295,4 +295,11 @@ class Forum extends AdminController
|
|||||||
return json(['code'=>-1,'msg'=>'审核出错']);
|
return json(['code'=>-1,'msg'=>'审核出错']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//array_filter过滤函数
|
||||||
|
public function filtr($arr){
|
||||||
|
if($arr === '' || $arr === null){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user