| | |
| | | import com.xcong.excoin.common.system.dto.RegisterDto; |
| | | import com.xcong.excoin.common.system.service.CommonService; |
| | | import com.xcong.excoin.modules.coin.dao.MemberAccountMoneyChangeDao; |
| | | import com.xcong.excoin.modules.coin.dao.ZhiYaDao; |
| | | import com.xcong.excoin.modules.coin.entity.MemberAccountMoneyChange; |
| | | import com.xcong.excoin.modules.coin.entity.ZhiYaEntity; |
| | | import com.xcong.excoin.modules.member.dao.*; |
| | | import com.xcong.excoin.modules.member.entity.*; |
| | | import com.xcong.excoin.modules.member.parameter.dto.MemberAddCoinAddressDto; |
| | |
| | | |
| | | @Resource |
| | | private MemberWalletCoinDao memberWalletCoinDao; |
| | | |
| | | @Resource |
| | | private ZhiYaDao zhiYaDao; |
| | | |
| | | @Resource |
| | | private MemberLevelRateDao memberLevelRateDao; |
| | |
| | | memberWalletCoinDao.insert(walletCoin); |
| | | } |
| | | |
| | | //初始化质押 |
| | | ZhiYaEntity zhiYaEntity = new ZhiYaEntity(); |
| | | zhiYaEntity.setMemberId(member.getId()); |
| | | zhiYaEntity.setAvailableBalance(AppContants.INIT_MONEY); |
| | | zhiYaEntity.setFrozenBalance(AppContants.INIT_MONEY); |
| | | zhiYaEntity.setTotalBalance(AppContants.INIT_MONEY); |
| | | zhiYaDao.insert(zhiYaEntity); |
| | | |
| | | // 初始化代理佣金钱包 |
| | | MemberWalletAgentEntity walletAgent = new MemberWalletAgentEntity(); |
| | | walletAgent.setMemberId(member.getId()); |