更新
This commit is contained in:
parent
939842ec1a
commit
2a6f917a89
@ -751,8 +751,10 @@ class ProductRepository extends BaseRepository
|
|||||||
$data['attrValue'] = $arr;
|
$data['attrValue'] = $arr;
|
||||||
|
|
||||||
$content = $data['content']['content'] ?? '';
|
$content = $data['content']['content'] ?? '';
|
||||||
|
$data['content_arr'] = [];
|
||||||
if (isset($data['content']) &&$data['content']['type']==1){
|
if (isset($data['content']) &&$data['content']['type']==1){
|
||||||
$arr = json_decode($content);
|
$arr = json_decode($content);
|
||||||
|
$data['content_arr'] = $arr;
|
||||||
if($arr){
|
if($arr){
|
||||||
$content='';
|
$content='';
|
||||||
foreach($arr->image as $k=>$v){
|
foreach($arr->image as $k=>$v){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user