|
...
|
...
|
@@ -392,6 +392,9 @@ class ProductLogic extends BaseLogic |
|
|
|
$param['attr_id'] = Arr::arrToSet($param['attr_id'] ?? '');
|
|
|
|
$param['describe'] = Arr::a2s($param['describe'] ?? []);
|
|
|
|
$param['describe_id'] = Arr::arrToSet($param['describe_id'] ?? '');
|
|
|
|
if(!isset($param['seo_mate']['seo_title']) || empty($param['seo_mate']['seo_title'])){
|
|
|
|
$param['seo_mate']['seo_title'] = truncate_text($param['title'],70);
|
|
|
|
}
|
|
|
|
$param['seo_mate'] = Arr::a2s($param['seo_mate'] ?? []);
|
|
|
|
$param['related_product_id'] = Arr::arrToSet($param['related_product_id'] ?? '');
|
|
|
|
if(isset($param['icon'])){
|
...
|
...
|
|