|
@@ -376,10 +376,10 @@ public class AppUserAgentController extends BaseController
|
|
|
appUser.setPassword(Md5Utils.md5(Md5Utils.md5(password) + appUser.getSalt()));
|
|
|
appUser.setUsername(RandomUtil.randomString(8));
|
|
|
appUser.setMobile(userName);
|
|
|
- appUser.setNickname("");
|
|
|
+ appUser.setNickname(appUser.getUsername());
|
|
|
appUser.setSmsRegion(smsRegion);
|
|
|
appUser.setPid(curUser.getUserid());
|
|
|
- appUser.setInviteCode(curUser.getInviteCode());
|
|
|
+// appUser.setInviteCode(curUser.getInviteCode());
|
|
|
appUser.setInviteBindTime(new Date());
|
|
|
appUser.setAgentFlag(1);
|
|
|
appUser.setAvatar(null);
|