...
|
...
|
@@ -142,7 +142,7 @@ class InfoModel |
|
|
foreach ($data['recommend'] as $key => $val) {
|
|
|
$result['exRecos'][$key]['title'] = $val['title'];
|
|
|
$result['exRecos'][$key]['img'] = isset($val['src']) ? Images::getImageUrl($val['src'], 90, 60) : '';
|
|
|
$result['exRecos'][$key]['url'] = Helpers::getArticleUrl($val['url'], $val['id']); //Helpers::url('/'.$val['id'].'.html', array(), 'guang');
|
|
|
$result['exRecos'][$key]['url'] = isset($val['url']) && $val['url'] ? $val['url'] : Helpers::url('/'.$val['id'].'.html', array(), 'guang');
|
|
|
}
|
|
|
}
|
|
|
//热门标签
|
...
|
...
|
|