|
@@ -92,9 +92,9 @@ class CollectLogic extends Logic |
|
@@ -92,9 +92,9 @@ class CollectLogic extends Logic |
|
92
|
'title' => $item['title'],
|
92
|
'title' => $item['title'],
|
|
93
|
'url' => $this->domain . $item['route'],
|
93
|
'url' => $this->domain . $item['route'],
|
|
94
|
'keywords' => $keyword,
|
94
|
'keywords' => $keyword,
|
|
95
|
- 'description' => strip_tags($item['intro']?:''),
|
95
|
+ 'desc' => strip_tags($item['intro']?:''),
|
|
96
|
'content' => strip_tags($item['content'] ?: ''),
|
96
|
'content' => strip_tags($item['content'] ?: ''),
|
|
97
|
- 'img' => array_column($item['gallery'] ?: [], 'url')
|
97
|
+ 'images' => getImageUrl(array_column($item['gallery'] ?: [], 'url'))
|
|
98
|
];
|
98
|
];
|
|
99
|
}
|
99
|
}
|
|
100
|
$list['list'] = $data;
|
100
|
$list['list'] = $data;
|
|
@@ -114,9 +114,9 @@ class CollectLogic extends Logic |
|
@@ -114,9 +114,9 @@ class CollectLogic extends Logic |
|
114
|
'title' => $item['name'],
|
114
|
'title' => $item['name'],
|
|
115
|
'url' => $this->domain . $item['url'],
|
115
|
'url' => $this->domain . $item['url'],
|
|
116
|
'keywords' => $item['seo_keywords'],
|
116
|
'keywords' => $item['seo_keywords'],
|
|
117
|
- 'description' => strip_tags($item['remark']?:''),
|
117
|
+ 'desc' => strip_tags($item['remark']?:''),
|
|
118
|
'content' => strip_tags($item['text'] ?: ''),
|
118
|
'content' => strip_tags($item['text'] ?: ''),
|
|
119
|
- 'img' => $item['image'] ?:''
|
119
|
+ 'images' => getImageUrl([$item['image']] ?:[])
|
|
120
|
];
|
120
|
];
|
|
121
|
}
|
121
|
}
|
|
122
|
$list['list'] = $data;
|
122
|
$list['list'] = $data;
|
|
@@ -136,9 +136,9 @@ class CollectLogic extends Logic |
|
@@ -136,9 +136,9 @@ class CollectLogic extends Logic |
|
136
|
'title' => $item['name'],
|
136
|
'title' => $item['name'],
|
|
137
|
'url' => $this->domain . $item['url'],
|
137
|
'url' => $this->domain . $item['url'],
|
|
138
|
'keywords' => $item['seo_keywords'],
|
138
|
'keywords' => $item['seo_keywords'],
|
|
139
|
- 'description' => strip_tags($item['remark']?:''),
|
139
|
+ 'desc' => strip_tags($item['remark']?:''),
|
|
140
|
'content' => strip_tags($item['text'] ?: ''),
|
140
|
'content' => strip_tags($item['text'] ?: ''),
|
|
141
|
- 'img' => $item['image'] ?:''
|
141
|
+ 'images' => getImageUrl([$item['image']] ?:[])
|
|
142
|
];
|
142
|
];
|
|
143
|
}
|
143
|
}
|
|
144
|
$list['list'] = $data;
|
144
|
$list['list'] = $data;
|