Przeglądaj źródła

去除邀请码填写

dos 4 miesięcy temu
rodzic
commit
36a6d6281a

+ 2 - 2
game-business/src/main/java/com/game/business/controller/AppUserAgentController.java

@@ -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);