...
|
...
|
@@ -154,11 +154,11 @@ class IndexController extends AbstractAction |
|
|
$data['guangList'] = true;
|
|
|
|
|
|
// 作者信息
|
|
|
$data['author'] = array();
|
|
|
$data['author']['avatar'] = Helpers::getImageUrl($author['avatar'], 100, 100);
|
|
|
$data['author']['name'] = $author['name'];
|
|
|
$data['author']['info'] = $author['author_desc'];
|
|
|
$data['author']['id'] = $id;
|
|
|
$data['authorInfo'] = array();
|
|
|
$data['authorInfo']['avatar'] = Helpers::getImageUrl($author['avatar'], 100, 100);
|
|
|
$data['authorInfo']['name'] = $author['name'];
|
|
|
$data['authorInfo']['info'] = $author['author_desc'];
|
|
|
$data['authorInfo']['id'] = $id;
|
|
|
|
|
|
// 标签聚合内容列表
|
|
|
$article = ListData::article($gender, 0, $uid, $udid, 1, null, $id);
|
...
|
...
|
@@ -166,7 +166,7 @@ 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);
|
|
|
$build[] = Helpers::formatArticle($article, true, $isApp, false);
|
|
|
}
|
|
|
$data['guang']['infos'] = $build;
|
|
|
}
|
...
|
...
|
|