fix
Helius
2022-05-25 c62c27263103dc5fbeea549d333431b758340166
src/main/java/cc/mrbird/febs/dapp/service/impl/DappWalletServiceImpl.java
@@ -41,16 +41,18 @@
    @Override
    public WalletInfoVo walletInfo() {
        DappMemberEntity member = LoginUserUtil.getAppUser();
        DappWalletCoinEntity walletCoin = dappWalletCoinDao.selectByMemberId(member.getId());
        DappWalletMineEntity walletMine = dappWalletMineDao.selectByMemberId(member.getId());
//        DappMemberEntity member = LoginUserUtil.getAppUser();
//        DappWalletCoinEntity walletCoin = dappWalletCoinDao.selectByMemberId(member.getId());
//        DappWalletMineEntity walletMine = dappWalletMineDao.selectByMemberId(member.getId());
        WalletInfoVo walletInfo = new WalletInfoVo();
        walletInfo.setInviteId(member.getInviteId());
        walletInfo.setTotalMine(walletMine.getTotalAmount());
        walletInfo.setAvailableMine(walletMine.getAvailableAmount());
        walletInfo.setAvailableWallet(walletCoin.getAvailableAmount());
//        walletInfo.setInviteId(member.getInviteId());
//        walletInfo.setTotalMine(walletMine.getTotalAmount());
//        walletInfo.setAvailableMine(walletMine.getAvailableAmount());
//        walletInfo.setAvailableWallet(walletCoin.getAvailableAmount());
        walletInfo.setTotalChild(10000);
        walletInfo.setTotalChild(41451);
        return walletInfo;
    }