diff --git a/app/Rpc/v1/NewsService.php b/app/Rpc/v1/NewsService.php index c9107ae..8e442d5 100755 --- a/app/Rpc/v1/NewsService.php +++ b/app/Rpc/v1/NewsService.php @@ -30,6 +30,7 @@ class NewsService extends BaseService } // 相关文章 $query['about'] = AppNews::formatQuery(['created_at']) + ->where('platform', $isRelation ? current(self::RELATION[$app_id]) : $app_id) ->where('is_delete', 0) ->select(['title', 'id']) ->limit(10)