This commit is contained in:
2025-12-22 16:09:05 +08:00
parent 5e056bb3d9
commit b1928b49fb
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -296,7 +296,9 @@ class UserService
$old = UserOld::where('mobile', $mobile)->first();
$uinfo = User::where('id', $request->user->uid)->first();
if ($old) {
$uinfo->name = $old->name;
if(!empty($old->name)){
$uinfo->name = $old->name;
}
$uinfo->is_release = 1;
}
$uinfo->mobile = $mobile;