作者 何书鹏

bug修改

@@ -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 }