1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user