|
...
|
...
|
@@ -40,7 +40,6 @@ class Product extends Base |
|
|
|
public function getThumbAttribute($value){
|
|
|
|
$value = Arr::s2a($value);
|
|
|
|
$value['url'] = $this->getImageUrl($value['url']);
|
|
|
|
$value['image_link'] = $value['url'];
|
|
|
|
return $value;
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -55,7 +54,6 @@ class Product extends Base |
|
|
|
$value = Arr::s2a($value);
|
|
|
|
foreach ($value as &$v){
|
|
|
|
$v['url'] = $this->getImageUrl($v['url']);
|
|
|
|
$v['image_link'] = $this->getImageUrl($v['url']);
|
|
|
|
}
|
|
|
|
return $value;
|
|
|
|
}
|
...
|
...
|
|