作者 lyh

gx修复报错信息

@@ -466,6 +466,7 @@ class ProductLogic extends BaseLogic @@ -466,6 +466,7 @@ class ProductLogic extends BaseLogic
466 $extendList = $extendInfoModel->list(['product_id'=>$old_id]); 466 $extendList = $extendInfoModel->list(['product_id'=>$old_id]);
467 if(!empty($extendList)){ 467 if(!empty($extendList)){
468 foreach ($extendList as $k => $v){ 468 foreach ($extendList as $k => $v){
  469 + unset($v['id']);
469 $v['product_id'] = $new_id; 470 $v['product_id'] = $new_id;
470 $v['created_at'] = date('Y-m-d H:i:s'); 471 $v['created_at'] = date('Y-m-d H:i:s');
471 $v['updated_at'] = date('Y-m-d H:i:s'); 472 $v['updated_at'] = date('Y-m-d H:i:s');