|
...
|
...
|
@@ -92,9 +92,9 @@ class CollectLogic extends Logic |
|
|
|
'title' => $item['title'],
|
|
|
|
'url' => $this->domain . $item['route'],
|
|
|
|
'keywords' => $keyword,
|
|
|
|
'description' => strip_tags($item['intro']?:''),
|
|
|
|
'desc' => strip_tags($item['intro']?:''),
|
|
|
|
'content' => strip_tags($item['content'] ?: ''),
|
|
|
|
'img' => array_column($item['gallery'] ?: [], 'url')
|
|
|
|
'images' => array_column($item['gallery'] ?: [], 'url')
|
|
|
|
];
|
|
|
|
}
|
|
|
|
$list['list'] = $data;
|
|
...
|
...
|
@@ -114,9 +114,9 @@ class CollectLogic extends Logic |
|
|
|
'title' => $item['name'],
|
|
|
|
'url' => $this->domain . $item['url'],
|
|
|
|
'keywords' => $item['seo_keywords'],
|
|
|
|
'description' => strip_tags($item['remark']?:''),
|
|
|
|
'desc' => strip_tags($item['remark']?:''),
|
|
|
|
'content' => strip_tags($item['text'] ?: ''),
|
|
|
|
'img' => $item['image'] ?:''
|
|
|
|
'images' => $item['image'] ?:''
|
|
|
|
];
|
|
|
|
}
|
|
|
|
$list['list'] = $data;
|
|
...
|
...
|
@@ -136,9 +136,9 @@ class CollectLogic extends Logic |
|
|
|
'title' => $item['name'],
|
|
|
|
'url' => $this->domain . $item['url'],
|
|
|
|
'keywords' => $item['seo_keywords'],
|
|
|
|
'description' => strip_tags($item['remark']?:''),
|
|
|
|
'desc' => strip_tags($item['remark']?:''),
|
|
|
|
'content' => strip_tags($item['text'] ?: ''),
|
|
|
|
'img' => $item['image'] ?:''
|
|
|
|
'images' => $item['image'] ?:''
|
|
|
|
];
|
|
|
|
}
|
|
|
|
$list['list'] = $data;
|
...
|
...
|
|