|
...
|
...
|
@@ -294,6 +294,8 @@ class ProductLogic extends BaseLogic |
|
|
|
$param['video']['url'] = str_replace_url($param['video']['url']);
|
|
|
|
$param['video']['video_image'] = str_replace_url($param['video']['video_image']);
|
|
|
|
$param['video'] = Arr::a2s($param['video'] ?? []);
|
|
|
|
}else{
|
|
|
|
$param['video'] = Arr::a2s([]);
|
|
|
|
}
|
|
|
|
if(isset($param['keyword_id']) && !empty($param['keyword_id'])){
|
|
|
|
$param['keyword_id'] = ','.Arr::arrToSet($param['keyword_id']).',';
|
|
...
|
...
|
@@ -309,6 +311,8 @@ class ProductLogic extends BaseLogic |
|
|
|
$param['icon'][$k1] = str_replace_url($v1);
|
|
|
|
}
|
|
|
|
$param['icon'] = Arr::a2s($param['icon'] ?? []);
|
|
|
|
}else{
|
|
|
|
$param['icon'] = Arr::a2s([]);
|
|
|
|
}
|
|
|
|
$param['created_uid'] = $this->user['id'];
|
|
|
|
return $param;
|
...
|
...
|
|