diff --git a/app/controller/api/TaskController.php b/app/controller/api/TaskController.php index 26afd77..1269ebc 100644 --- a/app/controller/api/TaskController.php +++ b/app/controller/api/TaskController.php @@ -129,12 +129,14 @@ 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(); + $GetLodeLog->delete(); + return ApiResponseApp::error([], '您已登陆'); } // 删除验证码日志记录