Commit a0fd0af1 by 孙龙

up

parent 42800378
......@@ -21,13 +21,14 @@ class OfflineLabelService{
foreach($data as $key=>$item){
$item = array_map("trim",$item);
foreach($item as $k=>$vv){
if(in_array($k,[0,1,2,3])){
if($vv == "" || $vv == null){
unset($item);
}
}
}
// foreach($item as $k=>$vv){
// if(in_array($k,[0,1,2,3,4,5,6,7])){
// if($vv == "" || $vv == null){
// unset($item);
// }
// }
// if()
// }
if(isset($item) && !empty($item)){
$arr[] = $item;
}
......
This diff could not be displayed because it is too large.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment