From cdc71c544a32bb60388481b605aa8882505485bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Mon, 24 Feb 2025 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process/Task3.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/process/Task3.php b/process/Task3.php index cc6a455..7465c69 100644 --- a/process/Task3.php +++ b/process/Task3.php @@ -68,8 +68,7 @@ class Task3 $parent->vip_id += 1; //今天邀请人数加1 $parent->today_num += 1; - $existingPhone = ActiveUsers::where('user_id', $parent->id) - ->where('phone', $value->phone) + $existingPhone = ActiveUsers::where('phone', $value->phone) ->first(); //不存在,代表首次邀请 if (!$existingPhone) {