正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -28,7 +28,7 @@ class Goods extends Model | @@ -28,7 +28,7 @@ class Goods extends Model | ||
28 | 28 | ||
29 | public function getFourImageTextAttr($value,$data) | 29 | public function getFourImageTextAttr($value,$data) |
30 | { | 30 | { |
31 | - $value = !empty($data['four_image']) ? explode(',',$data['four_image']):[]; | 31 | + $value = !empty($data['four_images']) ? explode(',',$data['four_images']):[]; |
32 | foreach ($value as $key => &$val){ | 32 | foreach ($value as $key => &$val){ |
33 | $val = cdnurl($val,true); | 33 | $val = cdnurl($val,true); |
34 | } | 34 | } |
-
请 注册 或 登录 后发表评论