Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -40,7 +40,6 @@ class Product extends Base | @@ -40,7 +40,6 @@ class Product extends Base | ||
| 40 | public function getThumbAttribute($value){ | 40 | public function getThumbAttribute($value){ |
| 41 | $value = Arr::s2a($value); | 41 | $value = Arr::s2a($value); |
| 42 | $value['url'] = $this->getImageUrl($value['url']); | 42 | $value['url'] = $this->getImageUrl($value['url']); |
| 43 | - $value['image_link'] = $value['url']; | ||
| 44 | return $value; | 43 | return $value; |
| 45 | } | 44 | } |
| 46 | 45 | ||
| @@ -55,7 +54,6 @@ class Product extends Base | @@ -55,7 +54,6 @@ class Product extends Base | ||
| 55 | $value = Arr::s2a($value); | 54 | $value = Arr::s2a($value); |
| 56 | foreach ($value as &$v){ | 55 | foreach ($value as &$v){ |
| 57 | $v['url'] = $this->getImageUrl($v['url']); | 56 | $v['url'] = $this->getImageUrl($v['url']); |
| 58 | - $v['image_link'] = $this->getImageUrl($v['url']); | ||
| 59 | } | 57 | } |
| 60 | return $value; | 58 | return $value; |
| 61 | } | 59 | } |
-
请 注册 或 登录 后发表评论