This commit is contained in:
make
2025-06-18 02:27:32 +08:00
parent d6e9171ba7
commit ae48449a35
2 changed files with 6 additions and 0 deletions

View File

@@ -158,6 +158,9 @@ class ChapterPage extends BasePage
$arrInsertNovel['created_at'] = new \MongoDB\BSON\UTCDateTime();
try {
$incKey = config('task.app_name').'_insert_before_saveChapter:' . date('Y-m-d');
$this->redisDailyInc($incKey);
$this->getChapterModel()->insert($arrInsertNovel);
$incKey = config('task.app_name').'_success_saveChapter:' . date('Y-m-d');

View File

@@ -306,6 +306,9 @@ class Site
$ChapterPage->setData($arrFilter[$intKey]);
$arrChapterPage[] = $ChapterPage;
$incKey = config('task.app_name').'_success_quit_getChapterPageList:' . date('Y-m-d');
$this->redisDailyInc($incKey);
}
return $arrChapterPage;