| | |
| | | |
| | | memberDao.updateById(member); |
| | | |
| | | // 插入ser地址 |
| | | MemberCoinAddressEntity coinAddress = new MemberCoinAddressEntity(); |
| | | coinAddress.setAddress(address); |
| | | coinAddress.setIsBiyict(MemberCoinAddressEntity.IS_BIYICT_YES); |
| | | coinAddress.setMemberId(member.getId()); |
| | | coinAddress.setPrivateKey(privateKey); |
| | | coinAddress.setSymbol(SymbolEnum.SER.name()); |
| | | coinAddress.setLabel(member.getInviteId()); |
| | | memberCoinAddressDao.insert(coinAddress); |
| | | |
| | | |
| | | //初始化合约钱包 |
| | | MemberWalletContractEntity walletContract = new MemberWalletContractEntity(); |
| | | walletContract.setMemberId(member.getId()); |