From e9ab49ad24a7e19cedb926cce41c7e0e83fd86b9 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Tue, 15 Jul 2025 17:03:20 +0800 Subject: [PATCH] update --- app/Rpc/v1/NewsService.php | 1 + 1 file changed, 1 insertion(+) 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)