Authored by 于良

APP内调用plaster时不显示喜欢的状态

@@ -165,7 +165,9 @@ class PlusstarController extends AbstractAction @@ -165,7 +165,9 @@ class PlusstarController extends AbstractAction
165 // 相关文章 165 // 相关文章
166 foreach ($brandInfo['getArticleByBrand'] as $value) { 166 foreach ($brandInfo['getArticleByBrand'] as $value) {
167 $result = Helpers::formatArticle($value, false, $isApp, false, $uid); 167 $result = Helpers::formatArticle($value, false, $isApp, false, $uid);
168 - $result['like'] = $value['like']; 168 + if (!$isApp) {
  169 + $result['like'] = $value['like'];
  170 + }
169 $data['ps']['infos'][] = $result; 171 $data['ps']['infos'][] = $result;
170 } 172 }
171 173