作者 刘锟

update

@@ -401,6 +401,7 @@ class ProductLogic extends BaseLogic @@ -401,6 +401,7 @@ class ProductLogic extends BaseLogic
401 //处理图片 401 //处理图片
402 $img_arr = explode(',',$data[7]); 402 $img_arr = explode(',',$data[7]);
403 foreach ($img_arr as $v_img){ 403 foreach ($img_arr as $v_img){
  404 + if($v_img){
404 $one_img = CosService::uploadRemote($project_id,'image_product',$v_img); 405 $one_img = CosService::uploadRemote($project_id,'image_product',$v_img);
405 if($one_img){ 406 if($one_img){
406 $one_gallery = [ 407 $one_gallery = [
@@ -416,6 +417,7 @@ class ProductLogic extends BaseLogic @@ -416,6 +417,7 @@ class ProductLogic extends BaseLogic
416 } 417 }
417 } 418 }
418 } 419 }
  420 + }
419 421
420 422
421 //处理seo 423 //处理seo