作者 lyh

gx

@@ -287,8 +287,8 @@ class ProductLogic extends BaseLogic @@ -287,8 +287,8 @@ class ProductLogic extends BaseLogic
287 $param = [ 287 $param = [
288 'project_id'=>$info['project_id'], 288 'project_id'=>$info['project_id'],
289 'title'=>$info['title']."-copy", 289 'title'=>$info['title']."-copy",
290 - 'thumb'=>!empty($info['thumb']) ? Arr::a2s($info['thumb']) : '',  
291 - 'gallery'=>!empty($info['gallery']) ? Arr::a2s($info['gallery']) : '', 290 + 'thumb'=>Arr::a2s($info['thumb']),
  291 + 'gallery'=>Arr::a2s($info['gallery']),
292 'attrs'=>Arr::a2s($info['attrs']), 292 'attrs'=>Arr::a2s($info['attrs']),
293 'attr_id'=>Arr::arrToSet($info['attr_id']), 293 'attr_id'=>Arr::arrToSet($info['attr_id']),
294 'category_id'=>!empty($info['category_id']) ? ','.Arr::arrToSet($info['category_id']).',' : '', 294 'category_id'=>!empty($info['category_id']) ? ','.Arr::arrToSet($info['category_id']).',' : '',