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([], '您已登陆'); }