From 125c24b4fb2d74047cb4245600a30188e1e967d9 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 28 Feb 2025 22:08:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8A=E6=8E=89=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=9B=B4=E6=96=B0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E6=9A=82=E6=97=B6=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=89=80=E5=B1=9E=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/TaskController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controller/api/TaskController.php b/app/controller/api/TaskController.php index 26afd77..52d3df3 100644 --- a/app/controller/api/TaskController.php +++ b/app/controller/api/TaskController.php @@ -129,12 +129,12 @@ class TaskController } } else { // 本地已存在手机号,更新用户信息 - $UserPhone->user_id = $user_id; - $UserPhone->score = 0; - $UserPhone->status = 1; - $UserPhone->time = 0; - $UserPhone->last_time = time(); - $UserPhone->save(); + // $UserPhone->user_id = $user_id; + // $UserPhone->score = 0; + // $UserPhone->status = 1; + // $UserPhone->time = 0; + // $UserPhone->last_time = time(); + // $UserPhone->save(); } // 删除验证码日志记录 From af6e5f870b3432c917a0685aab720c225ca7f205 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 28 Feb 2025 22:11:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=A6=82=E6=9E=9C=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=B0=9D=E8=AF=95=E5=9C=A8=E5=85=B6=E4=BB=96=E8=B4=A6=E6=88=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=B0=B1=E7=BB=99=E4=BB=96=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=20=E6=82=A8=E5=B7=B2=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/TaskController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controller/api/TaskController.php b/app/controller/api/TaskController.php index 52d3df3..1269ebc 100644 --- a/app/controller/api/TaskController.php +++ b/app/controller/api/TaskController.php @@ -135,6 +135,8 @@ class TaskController // $UserPhone->time = 0; // $UserPhone->last_time = time(); // $UserPhone->save(); + $GetLodeLog->delete(); + return ApiResponseApp::error([], '您已登陆'); } // 删除验证码日志记录