From dec2fd03ea275b260e589a7fe963ba805a320458 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 15 Jan 2026 14:19:31 +0800 Subject: [PATCH] no message --- app/Services/Article/CacheTg.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Services/Article/CacheTg.php b/app/Services/Article/CacheTg.php index 34150180..11c2a1d5 100755 --- a/app/Services/Article/CacheTg.php +++ b/app/Services/Article/CacheTg.php @@ -49,6 +49,10 @@ final class CacheTg $oArticleCache = ModelArticleCache::where("status", 1)->get(); + if ($oArticleCache->isEmpty()) { + return $oFlow->done("没有要处理的数据"); + } + // 第一步,格式化通用tgSchema $aDataMix["data"] = []; foreach ($oArticleCache as $oArticleCacheRow) {