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 = [];