This commit is contained in:
mkm 2023-10-07 14:37:56 +08:00
parent 939842ec1a
commit 2a6f917a89

View File

@ -751,8 +751,10 @@ class ProductRepository extends BaseRepository
$data['attrValue'] = $arr;
$content = $data['content']['content'] ?? '';
$data['content_arr'] = [];
if (isset($data['content']) &&$data['content']['type']==1){
$arr = json_decode($content);
$data['content_arr'] = $arr;
if($arr){
$content='';
foreach($arr->image as $k=>$v){