|
...
|
...
|
@@ -287,12 +287,12 @@ class ProductLogic extends BaseLogic |
|
|
|
$param = [
|
|
|
|
'project_id'=>$info['project_id'],
|
|
|
|
'title'=>$info['title']."-copy",
|
|
|
|
'thumb'=>Arr::a2s($info['thumb']),
|
|
|
|
'gallery'=>Arr::a2s($info['gallery']),
|
|
|
|
'thumb'=>!empty($info['thumb']) ? Arr::a2s($info['thumb']) : '',
|
|
|
|
'gallery'=>!empty($info['gallery']) ? Arr::a2s($info['gallery']) : '',
|
|
|
|
'attrs'=>Arr::a2s($info['attrs']),
|
|
|
|
'attr_id'=>Arr::arrToSet($info['attr_id']),
|
|
|
|
'category_id'=>','.Arr::arrToSet($info['category_id']).',',
|
|
|
|
'keyword_id'=>','.Arr::arrToSet($info['keyword_id']).',',
|
|
|
|
'category_id'=>!empty($info['category_id']) ? ','.Arr::arrToSet($info['category_id']).',' : '',
|
|
|
|
'keyword_id'=>!empty($info['keyword_id']) ? ','.Arr::arrToSet($info['keyword_id']).',' : '',
|
|
|
|
'intro'=>$info['intro'],
|
|
|
|
'content'=>$info['content'],
|
|
|
|
'describe'=>Arr::a2s($info['describe']),
|
...
|
...
|
|