From 9bc6b2a977953e433037e2426613ccc098a8602b Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 21 May 2025 16:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/job/WorkbenchJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/application/job/WorkbenchJob.php b/Server/application/job/WorkbenchJob.php index cb2eb3a0..c3a1dfe8 100644 --- a/Server/application/job/WorkbenchJob.php +++ b/Server/application/job/WorkbenchJob.php @@ -224,6 +224,7 @@ class WorkbenchJob // 子进程 try { foreach ($friendGroup as $friend) { + Log::info("工作台 {$workbench->id} 开始处理好友 {$friend['friendId']}"); // 验证是否达到点赞次数上限 $likeCount = $this->getTodayLikeCount($workbench, $config, $friend['deviceId']); if ($likeCount >= $config['maxLikes']) { @@ -335,8 +336,7 @@ class WorkbenchJob // 查询未点赞的朋友圈 $moments = $this->getUnlikedMoments($friend['friendId']); - - Log::info("工作台开始处理好友 {$friend['friendId']} 的朋友圈" . json_encode($moments)); + Log::info("获取朋友圈信成功 {$friend['friendId']} 的朋友圈" . json_encode($moments)); if (empty($moments)) { Log::info("好友 {$friend['friendId']} 没有需要点赞的朋友圈");