From 1ff6bef6555fd4d67099a0573ad8ad97cafe7b17 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Mon, 27 Apr 2026 11:49:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E6=8E=A8?= =?UTF-8?q?=E5=B9=BF=E7=9A=84=E7=9B=B8=E5=85=B3=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/ExpertFinder.php | 2 +- application/common/PromotionService.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/api/controller/ExpertFinder.php b/application/api/controller/ExpertFinder.php index 463c0ab..ee8e5aa 100644 --- a/application/api/controller/ExpertFinder.php +++ b/application/api/controller/ExpertFinder.php @@ -298,7 +298,7 @@ class ExpertFinder extends Base */ public function dailyFetchAll() { - $perPage = max(10, intval($this->request->param('per_page', 200))); + $perPage = max(10, intval($this->request->param('per_page', 50))); $source = $this->request->param('source', 'pubmed'); $minYear = intval($this->request->param('min_year', date('Y') - 3)); diff --git a/application/common/PromotionService.php b/application/common/PromotionService.php index 49b22bf..b3d3b03 100644 --- a/application/common/PromotionService.php +++ b/application/common/PromotionService.php @@ -661,9 +661,9 @@ class PromotionService $data = ['task_id' => $taskId]; if ($delay > 0) { - Queue::later($delay, $jobClass, $data, 'promotion'); + Queue::later($delay, $jobClass, $data, 'PromotionSend'); } else { - Queue::push($jobClass, $data, 'promotion'); + Queue::push($jobClass, $data, 'PromotionSend'); } }