debug
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user