修复
This commit is contained in:
parent
928715fbfe
commit
dd7bc802ff
@ -1257,7 +1257,7 @@ class ProductRepository extends BaseRepository
|
||||
if(is_Array($content) && isset($content['image'])){
|
||||
$img='<p>';
|
||||
foreach($content['image'] as $k=>$v){
|
||||
$img=$img.'<img src='.$v.'</img>';
|
||||
$img =$img. '<img src='.$v.'/>';
|
||||
}
|
||||
$res['content']['content']=$img.'</p>';
|
||||
|
||||
@ -1265,16 +1265,12 @@ class ProductRepository extends BaseRepository
|
||||
$image= $content->image??[];
|
||||
$img='<p>';
|
||||
foreach($image as $k=>$v){
|
||||
$img =$img. '<img src='.$v.'</img>';
|
||||
$img =$img. '<img src='.$v.'/>';
|
||||
}
|
||||
$res['content']['content']=$img.'</p>';
|
||||
}
|
||||
else{
|
||||
$img='<p>';
|
||||
foreach($content as $k=>$v){
|
||||
$img =$img. '<img src='.$v.'</img>';
|
||||
}
|
||||
$res['content']['content']=$img.'</p>';
|
||||
$res['content']['content']=$content;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user