...
|
...
|
@@ -159,7 +159,7 @@ class PlusstarController extends AbstractAction |
|
|
|
|
|
// 相关文章
|
|
|
foreach ($brandInfo['getArticleByBrand'] as $value) {
|
|
|
$data['ps']['infos'][] = Helpers::formatArticle($value, false, false, false, $uid);
|
|
|
$data['ps']['infos'][] = Helpers::formatArticle($value, false, $isApp, false, $uid);
|
|
|
}
|
|
|
|
|
|
// 设置头部信息
|
...
|
...
|
@@ -172,7 +172,7 @@ class PlusstarController extends AbstractAction |
|
|
|
|
|
$data['shareLink'] = $defaultUrl;
|
|
|
$data['shareTitle'] = $data['ps']['name'];
|
|
|
$data['shareDesc'] = (mb_strlen($data['ps']['intro'], 'utf-8') > 800) ? mb_substr($data['ps']['intro'], 0, 800, 'utf-8') . '...' : $data['ps']['intro'];
|
|
|
$data['shareDesc'] = (mb_strlen($data['ps']['intro'], 'utf-8') > 120) ? mb_substr($data['ps']['intro'], 0, 120, 'utf-8') . '...' : $data['ps']['intro'];
|
|
|
$data['shareImg'] = $data['ps']['logo'];
|
|
|
|
|
|
$brandInfo = array();
|
...
|
...
|
|