From 07fe136d62a530f86fa5a57b22953e650c04e909 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Fri, 18 Jul 2025 19:08:39 +0800 Subject: [PATCH] update --- app/Command/sitemap/Toutiao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Command/sitemap/Toutiao.php b/app/Command/sitemap/Toutiao.php index 5db2b4c..e9007e9 100644 --- a/app/Command/sitemap/Toutiao.php +++ b/app/Command/sitemap/Toutiao.php @@ -55,11 +55,11 @@ class Toutiao extends BaseSpider $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']); + $date = date('Y-m-d', $item['created_at']); $sitemapArray[] = << https://$domain/news/{$item['id']} - {$item['created_at']} + {$date} EOF; }