From 06ea9ca7737f7bbca451b83ed698eaee6f368cf0 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 7 Mar 2025 19:57:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=20TaskController=20?= =?UTF-8?q?=E4=B8=AD=E7=94=A8=E6=88=B7=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=AD=A3=E7=A1=AE=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/TaskController.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/controller/api/TaskController.php b/app/controller/api/TaskController.php index 4421d38..7b3ab2e 100644 --- a/app/controller/api/TaskController.php +++ b/app/controller/api/TaskController.php @@ -150,13 +150,13 @@ class TaskController $UserPhone->save(); } else { // 本地已存在手机号,更新用户信息 - // $UserPhone->user_id = $user_id; - // $UserPhone->score = 0; - // $UserPhone->status = 1; - // $UserPhone->time = 0; - // $UserPhone->last_time = time(); - // $UserPhone->save(); - $GetLodeLog->delete(); + $UserPhone->user_id = $user_id; + $UserPhone->score = 0; + $UserPhone->status = 1; + $UserPhone->time = 0; + $UserPhone->last_time = time(); + $UserPhone->save(); + $GetLodeLog->delete(); return ApiResponseApp::error([], '您已登陆'); }