|
@@ -525,6 +525,12 @@ WHERE u.openid in (SELECT openid from users WHERE id = %s)";
|
|
|
|
|
|
$to_user->balance += $from_user->balance;
|
|
|
$to_user->reward_balance += $from_user->balance;
|
|
|
+ $to_user->nickname = $from_user->nickname;
|
|
|
+ $to_user->sex = $from_user->sex;
|
|
|
+ $to_user->head_img = $from_user->head_img;
|
|
|
+ $to_user->country = $from_user->country;
|
|
|
+ $to_user->city = $from_user->city;
|
|
|
+ $to_user->province = $from_user->province;
|
|
|
$to_user->save();
|
|
|
DB::table('crm_transfer')->insert([
|
|
|
'from_uid'=>$from,
|