作者 张关杰

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -42,28 +42,28 @@ class Product extends Base @@ -42,28 +42,28 @@ class Product extends Base
42 return $value; 42 return $value;
43 } 43 }
44 44
45 - public function setGalleryAttribute($value){  
46 - $this->attributes['gallery'] = Arr::a2s($value);  
47 - }  
48 -  
49 - public function getGalleryAttribute($value){  
50 - $value = Arr::s2a($value);  
51 - foreach ($value as &$v){  
52 - $v['url'] = $this->getImageUrl($v['url']);  
53 - }  
54 - return $value;  
55 - } 45 +// public function setGalleryAttribute($value){
  46 +// $this->attributes['gallery'] = Arr::a2s($value);
  47 +// }
  48 +//
  49 +// public function getGalleryAttribute($value){
  50 +// $value = Arr::s2a($value);
  51 +// foreach ($value as &$v){
  52 +// $v['url'] = $this->getImageUrl($v['url']);
  53 +// }
  54 +// return $value;
  55 +// }
56 56
57 - /**  
58 - * @remark :图标获取器  
59 - * @name :getGalleryAttribute  
60 - * @author :lyh  
61 - * @method :post  
62 - * @time :2023/7/21 11:11  
63 - */  
64 - public function setIconAttribute($value){  
65 - $this->attributes['icon'] = Arr::a2s($value);  
66 - } 57 +// /**
  58 +// * @remark :图标获取器
  59 +// * @name :getGalleryAttribute
  60 +// * @author :lyh
  61 +// * @method :post
  62 +// * @time :2023/7/21 11:11
  63 +// */
  64 +// public function setIconAttribute($value){
  65 +// $this->attributes['icon'] = Arr::a2s($value);
  66 +// }
67 67
68 // /** 68 // /**
69 // * @remark :图标获取器 69 // * @remark :图标获取器