|
|
@ -17,6 +17,8 @@ public class UserBo { |
|
|
|
public String inviteCode; |
|
|
|
public String inviteUrl; |
|
|
|
|
|
|
|
public Integer env; |
|
|
|
|
|
|
|
public String wxOpenId;//微信openId
|
|
|
|
public long createdAt; |
|
|
|
|
|
|
@ -37,9 +39,10 @@ public class UserBo { |
|
|
|
this.realMoney = u.getRealMoney(); |
|
|
|
this.goldCoin = u.getIncome() - (u.getMoney() * 1000); |
|
|
|
this.wxOpenId = u.getWxOpenId(); |
|
|
|
this.env = u.getEnv(); |
|
|
|
this.createdAt = u.getCreatedAt().getTime(); |
|
|
|
|
|
|
|
if(!StringUtils.hasText(nickname)) { |
|
|
|
if (!StringUtils.hasText(nickname)) { |
|
|
|
this.nickname = replaceWithX(this.mobile); |
|
|
|
} |
|
|
|
|
|
|
|