From 95b480b346b9f68eb6ac958e2eb8cb6b11522f47 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Thu, 17 Jul 2025 19:19:35 +0800 Subject: [PATCH] update --- app/Command/sitemap/Toutiao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Command/sitemap/Toutiao.php b/app/Command/sitemap/Toutiao.php index 4a4eda1..5db2b4c 100644 --- a/app/Command/sitemap/Toutiao.php +++ b/app/Command/sitemap/Toutiao.php @@ -53,7 +53,7 @@ class Toutiao extends BaseSpider $sitemapArray = []; - $query = AppNews::query()->select(['id', 'created_at'])->where('is_delete', 0)->get()->toArray(); + $query = AppNews::query()->select(['id', 'created_at'])->where('platform', $platform)->where('is_delete', 0)->get()->toArray(); foreach ($query as $item) { // $date = date('Y-m-d', $item['created_at']); $sitemapArray[] = <<