This commit is contained in:
toom1996
2025-07-15 17:03:20 +08:00
parent 0b85d58bb9
commit e9ab49ad24

View File

@ -30,6 +30,7 @@ class NewsService extends BaseService
} }
// 相关文章 // 相关文章
$query['about'] = AppNews::formatQuery(['created_at']) $query['about'] = AppNews::formatQuery(['created_at'])
->where('platform', $isRelation ? current(self::RELATION[$app_id]) : $app_id)
->where('is_delete', 0) ->where('is_delete', 0)
->select(['title', 'id']) ->select(['title', 'id'])
->limit(10) ->limit(10)