| | |
| | | package cc.mrbird.febs.dapp.service; |
| | | |
| | | import cc.mrbird.febs.dapp.dto.RecordInPageDto; |
| | | import cc.mrbird.febs.dapp.dto.WalletOperateDto; |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.entity.QueryRequest; |
| | | import cc.mrbird.febs.dapp.dto.*; |
| | | import cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappFundFlowEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappWalletCoinEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappWalletMineEntity; |
| | | import cc.mrbird.febs.dapp.vo.ActiveNftListVo; |
| | | import cc.mrbird.febs.dapp.vo.AdminMoneyTotalVo; |
| | | import cc.mrbird.febs.dapp.vo.WalletInfoVo; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface DappWalletService { |
| | | |
| | |
| | | void withdraw(WalletOperateDto walletOperateDto); |
| | | |
| | | List<DappFundFlowEntity> recordInPage(RecordInPageDto recordInPageDto); |
| | | |
| | | IPage<DappFundFlowEntity> fundFlowInPage(DappFundFlowEntity dappFundFlowEntity, QueryRequest request); |
| | | |
| | | void withdrawAgreeOrNot(Long id, int type); |
| | | |
| | | IPage<DappWalletCoinEntity> walletCoinInPage(DappWalletCoinEntity walletCoin, QueryRequest request); |
| | | IPage<DappWalletMineEntity> walletMineInPage(DappWalletMineEntity walletMine, QueryRequest request); |
| | | |
| | | IPage<DappAccountMoneyChangeEntity> accountMoneyChangeInPage(DappAccountMoneyChangeEntity change, QueryRequest request); |
| | | |
| | | |
| | | Long transfer(TransferDto transferDto); |
| | | |
| | | Map<String, BigDecimal> calPrice(PriceDto priceDto); |
| | | |
| | | ActiveNftListVo boxSurprise(); |
| | | |
| | | void activeNft(ActiveDto activeDto); |
| | | |
| | | List<ActiveNftListVo> findUnActiveNftList(); |
| | | |
| | | FebsResponse findMemberWalletCoin(); |
| | | |
| | | FebsResponse transferInside(ApiTransferInsideDto apiTransferInsideDto); |
| | | |
| | | FebsResponse transferPasswordSet(ApiTransferPasswordDto apiTransferPasswordDto); |
| | | |
| | | FebsResponse transferOutside(ApiTransferOutsideDto apiTransferOutsideDto); |
| | | |
| | | FebsResponse transferPassword(ApiTransferPasswordDto apiTransferPasswordDto); |
| | | |
| | | FebsResponse updatePassword(ApiUpdatePasswordDto apiUpdatePasswordDto); |
| | | |
| | | FebsResponse rebitTest(); |
| | | |
| | | FebsResponse resetPassword(ApiResetPasswordDto apiResetPasswordDto); |
| | | |
| | | /** |
| | | * 生成流水佣金和盈利分成和流水记录,返回剩余盈利 |
| | | * @param refererIds |
| | | */ |
| | | BigDecimal updateLSYJ(List<String> refererIds, BigDecimal totalProfit,long id); |
| | | BigDecimal updateYLFC(List<String> refererIds, BigDecimal totalProfit,long id); |
| | | |
| | | /** |
| | | * 平台分成,返回剩余盈利 |
| | | */ |
| | | BigDecimal updatePTFC(Long memberId, BigDecimal totalProfit,long id); |
| | | |
| | | /** |
| | | * 判断是否中奖 |
| | | */ |
| | | Integer isGoal(String num); |
| | | |
| | | IPage<AdminMoneyTotalVo> moneyTotal(DappAccountMoneyChangeEntity record, QueryRequest request); |
| | | } |