| | |
| | | party.setUserCode(getUserCode()); |
| | | // party.setUserLevel(ever_user_level_num_custom * 10 + ever_user_level_num); |
| | | party.setUserLevel(userLevel); |
| | | party.setLoginPassword(this.passwordEncoder.encode(password)); |
| | | party.setSafePassword(this.passwordEncoder.encode(safeword)); |
| | | party.setRoleName(Constants.SECURITY_ROLE_MEMBER); |
| | | party.setCreditScore(80); |
| | |
| | | // Role role = this.roleService.findRoleByName(Constants.SECURITY_ROLE_MEMBER); |
| | | // usdt账户 |
| | | Wallet wallet = new Wallet(); |
| | | wallet.setUserId(party.getUserId().toString()); |
| | | wallet.setUserId(party.getUserId()); |
| | | this.walletService.save(wallet); |
| | | |
| | | CapitaltWallet capitaltWallet = new CapitaltWallet(); |
| | | capitaltWallet.setUserId(party.getUserId()); |
| | | capitaltWalletMapper.insert(capitaltWallet); |
| | | |
| | | if (party_reco != null) { |
| | | UserRecom userRecom = new UserRecom(); |
| | | userRecom.setUserId(party_reco.getUserId()); |