| | |
| | | import com.xcong.excoin.common.system.service.CommonService; |
| | | import com.xcong.excoin.modules.coin.dao.MemberAccountMoneyChangeDao; |
| | | import com.xcong.excoin.modules.coin.entity.MemberAccountMoneyChange; |
| | | import com.xcong.excoin.modules.fish.dao.MemberAccountGoldDao; |
| | | import com.xcong.excoin.modules.fish.entity.MemberAccountGold; |
| | | import com.xcong.excoin.modules.member.dao.*; |
| | | import com.xcong.excoin.modules.member.entity.*; |
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberAddCoinAddressDto; |
| | |
| | | |
| | | @Resource |
| | | MemberAuthenticationDao memberAuthenticationDao; |
| | | |
| | | @Resource |
| | | MemberAccountGoldDao memberAccountGoldDao; |
| | | |
| | | @Resource |
| | | RedisUtils redisUtils; |
| | |
| | | member.setRefererIds(ids); |
| | | memberDao.updateById(member); |
| | | |
| | | MemberAccountGold memberAccountGoldNew = new MemberAccountGold(); |
| | | memberAccountGoldNew.setMemberId(member.getId()); |
| | | memberAccountGoldNew.setTotalBalance(BigDecimal.ZERO); |
| | | memberAccountGoldNew.setAvailableBalance(BigDecimal.ZERO); |
| | | memberAccountGoldNew.setFrozenBalance(BigDecimal.ZERO); |
| | | memberAccountGoldDao.insert(memberAccountGoldNew); |
| | | |
| | | //初始化合约钱包 |
| | | MemberWalletContractEntity walletContract = new MemberWalletContractEntity(); |
| | | walletContract.setMemberId(member.getId()); |