正在显示
1 个修改的文件
包含
9 行增加
和
1 行删除
@@ -23,7 +23,15 @@ class Active extends Model | @@ -23,7 +23,15 @@ class Active extends Model | ||
23 | return $value; | 23 | return $value; |
24 | } | 24 | } |
25 | 25 | ||
26 | - public function getDepictAttr ($value,$data){ | 26 | + public function getImagesAttr($value,$data){ |
27 | + $images = explode(',',$data['images']); | ||
28 | + foreach ($images as $k){ | ||
29 | + $list[] = cdnurl($data['images'],true); | ||
30 | + } | ||
31 | + return $list; | ||
32 | + } | ||
33 | + | ||
34 | + public function getDepictAttr($value,$data){ | ||
27 | $value = strip_tags($data['depict']); | 35 | $value = strip_tags($data['depict']); |
28 | return $value; | 36 | return $value; |
29 | } | 37 | } |
-
请 注册 或 登录 后发表评论