debug
This commit is contained in:
@@ -71,6 +71,7 @@ class ChapterPage extends BasePage
|
||||
$this->arrChapterInfo['c_page_keywords'] = $this->getQueryList()->find('meta[name="keywords"]')->attr('content');
|
||||
$this->arrChapterInfo['c_page_description'] = $this->getQueryList()->find('meta[name="description"]')->attr('content');
|
||||
|
||||
// var lastread=new LastRead();lastread.set('529620', '184472933', '身为妖族的我,却在人族成家立业', '第321章 一人一兽联手对敌', '0','眯着眼','0');
|
||||
$strPattern = "/lastread\.set\((.*?)\);/";
|
||||
|
||||
if (preg_match($strPattern, $this->getContent(), $arrMatches)) {
|
||||
@@ -117,6 +118,14 @@ class ChapterPage extends BasePage
|
||||
) {
|
||||
$incKey = config('task.app_name').'_empty_saveChapter:' . date('Y-m-d');
|
||||
$this->redisDailyInc($incKey);
|
||||
|
||||
if(config('log.task_debug_log_open_status')){
|
||||
// 记录失败原因
|
||||
$strTitle = $arrPageChapter['c_page_title'] ?? '';
|
||||
$strPageData = $arrPageChapter['c_page_data'] ?? '';
|
||||
\think\facade\Log::error("Request empty_saveChapter , strTitle: {$strTitle }, strPageData: {$strPageData}");
|
||||
var_dump($strTitle .' ---- '.$strPageData);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user