...
|
...
|
@@ -189,8 +189,15 @@ class IndexController extends AbstractAction |
|
|
// 构建资讯文章内容
|
|
|
if (!empty($article['data']['list']['artList'])) {
|
|
|
$build = array();
|
|
|
foreach ($article['data']['list']['artList'] as $article) {
|
|
|
$build[] = Helpers::formatArticle($article, true, $isApp, false, $uid);
|
|
|
// foreach ($article['data']['list']['artList'] as $article) {
|
|
|
// $build[] = Helpers::formatArticle($article, true, $isApp, $showAuthor, $uid);
|
|
|
// }
|
|
|
//逛作者列表页跳转链接修改
|
|
|
foreach ($article['data']['list']['artList'] as $articlekey =>$article) {
|
|
|
$build[$articlekey ] = Helpers::formatArticle($article, true, $isApp, false, $uid);
|
|
|
if($this->isApp()){
|
|
|
$build[$articlekey]['url'] = Helpers::url('/author/index', array('id' => $id, 'app_version' => $this->get('app_version', '')), 'guang');
|
|
|
}
|
|
|
}
|
|
|
$data['guang']['infos'] = $build;
|
|
|
}
|
...
|
...
|
|