作者 开飞机的舒克

轮播图修改

@@ -37,10 +37,7 @@ class Banner extends Model @@ -37,10 +37,7 @@ class Banner extends Model
37 37
38 public function getImagesAttr($value, $data) 38 public function getImagesAttr($value, $data)
39 { 39 {
40 - $list = explode(',', $data['images']);  
41 - foreach ($list as $k => $v) {  
42 - $value = cdnurl($v['images'], true);  
43 - } 40 + $value = cdnurl($data['images'], true);
44 return $value; 41 return $value;
45 } 42 }
46 43
@@ -5920,7 +5920,7 @@ @@ -5920,7 +5920,7 @@
5920 5920
5921 </div> 5921 </div>
5922 <div class="col-md-6" align="right"> 5922 <div class="col-md-6" align="right">
5923 - Generated on 2023-04-04 13:40:06 <a href="./" target="_blank">校园活动</a> 5923 + Generated on 2023-04-04 14:01:25 <a href="./" target="_blank">校园活动</a>
5924 </div> 5924 </div>
5925 </div> 5925 </div>
5926 5926