From b7f5ee4ea6d1146a7626e5389ce56afba1774e98 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 27 Nov 2025 20:31:44 +0800 Subject: [PATCH] no message --- app/Services/Cron/ArticleSchema.php | 2 +- app/Services/Tg/Hook/Mod/Book.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Cron/ArticleSchema.php b/app/Services/Cron/ArticleSchema.php index 76a96500..4694a031 100644 --- a/app/Services/Cron/ArticleSchema.php +++ b/app/Services/Cron/ArticleSchema.php @@ -131,7 +131,7 @@ final class ArticleSchema { echo "\ncacheTgSave::开始\n"; - $iCacheTimeDelay = 360; // 延迟6分钟 + $iCacheTimeDelay = 600; // 延迟10分钟 $oCacheTime = ModelArticleCacheTime::first(); $iCacheTime = $oCacheTime->time; diff --git a/app/Services/Tg/Hook/Mod/Book.php b/app/Services/Tg/Hook/Mod/Book.php index e92ce73a..42b38eca 100644 --- a/app/Services/Tg/Hook/Mod/Book.php +++ b/app/Services/Tg/Hook/Mod/Book.php @@ -48,7 +48,7 @@ class Book extends Base { { $this->oRag = $this->_getParentRag(); - if ($this->oRag->option) { + if ($this->oRag && $this->oRag->option) { $this->aRagOption = json_decode($this->oRag->option, true); } else { $this->aRagOption = [];