From 085a15f42ff31a78cbb06f506a325a32aec4ad5c Mon Sep 17 00:00:00 2001 From: Default Date: Tue, 29 Apr 2025 22:04:02 +0800 Subject: [PATCH] 123 --- code/app/task/crawler/zw630/Scheduler.php | 4 ++-- code/app/task/crawler/zw74/Scheduler.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/app/task/crawler/zw630/Scheduler.php b/code/app/task/crawler/zw630/Scheduler.php index dd46ce4..3dd2394 100644 --- a/code/app/task/crawler/zw630/Scheduler.php +++ b/code/app/task/crawler/zw630/Scheduler.php @@ -26,9 +26,9 @@ class Scheduler extends ZwScheduler { $this->intSlice = 3; - $this->intStartNSourceId = config('crawler.novel_start_n_source_id'); + $this->intStartNSourceId = (int) config('crawler.novel_start_n_source_id'); - $this->intEndNSourceId = config('crawler.novel_end_n_source_id'); + $this->intEndNSourceId = (int) config('crawler.novel_end_n_source_id'); } /** diff --git a/code/app/task/crawler/zw74/Scheduler.php b/code/app/task/crawler/zw74/Scheduler.php index 1ea8724..9fc89b7 100644 --- a/code/app/task/crawler/zw74/Scheduler.php +++ b/code/app/task/crawler/zw74/Scheduler.php @@ -21,9 +21,9 @@ class Scheduler extends ZwScheduler { $this->intSlice = 1; - $this->intStartNSourceId = config('crawler.novel_start_n_source_id'); + $this->intStartNSourceId = (int) config('crawler.novel_start_n_source_id'); - $this->intEndNSourceId = config('crawler.novel_end_n_source_id'); + $this->intEndNSourceId = (int) config('crawler.novel_end_n_source_id'); } /**