feat: 修复 TaskController 中用户手机号更新逻辑,确保信息正确保存

This commit is contained in:
lingling 2025-03-07 19:57:44 +08:00
parent b7d32a74e7
commit 06ea9ca773
1 changed files with 7 additions and 7 deletions

View File

@ -150,13 +150,13 @@ class TaskController
$UserPhone->save(); $UserPhone->save();
} else { } else {
// 本地已存在手机号,更新用户信息 // 本地已存在手机号,更新用户信息
// $UserPhone->user_id = $user_id; $UserPhone->user_id = $user_id;
// $UserPhone->score = 0; $UserPhone->score = 0;
// $UserPhone->status = 1; $UserPhone->status = 1;
// $UserPhone->time = 0; $UserPhone->time = 0;
// $UserPhone->last_time = time(); $UserPhone->last_time = time();
// $UserPhone->save(); $UserPhone->save();
$GetLodeLog->delete(); $GetLodeLog->delete();
return ApiResponseApp::error([], '您已登陆'); return ApiResponseApp::error([], '您已登陆');
} }