From 2f6809e5c55453a31a807e948d566f22e866f67e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 14 Aug 2023 12:29:47 +0800
Subject: [PATCH] 后台修改

---
 src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java |   34 ++++++++++++++++++++++++++++------
 1 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
index 3376782..6976f97 100644
--- a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
+++ b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
@@ -1,5 +1,6 @@
 package cc.mrbird.febs.dapp.service;
 
+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;
@@ -7,6 +8,8 @@
 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.DappFundFlowVo;
+import cc.mrbird.febs.dapp.vo.MallOrderListVo;
 import cc.mrbird.febs.dapp.vo.WalletInfoVo;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -17,7 +20,6 @@
 
 public interface DappWalletService {
 
-    WalletInfoVo walletInfo();
 
     List<DappFundFlowEntity> recordInPage(RecordInPageDto recordInPageDto);
 
@@ -28,15 +30,35 @@
 
     IPage<DappAccountMoneyChangeEntity> accountMoneyChangeInPage(DappAccountMoneyChangeEntity change, QueryRequest request);
 
-
-    Long transfer(TransferDto transferDto);
-
-    BigDecimal calPrice(PriceDto priceDto);
-
     void withdraw(WithdrawDto withdrawDto);
 
     void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
 
     void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
 
+    void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
+
+    void releaseFrozenAmountWithLock(Long memberId);
+
+    DappWalletCoinEntity findByMemberId(Long memberId);
+
+    void transferAgain(TransferDto transferDto);
+
+    /**
+     * 资产钱包转帐到闪兑钱包3% 手续费(扣币)
+     * @param mineToCoinDto
+     */
+    void mineToCoin(MineToCoinDto mineToCoinDto);
+
+    Long transferAusd(TransferAusdDto transferAusdDto);
+
+    IPage<DappFundFlowVo> getRecordVoInPage(RecordInPageDto recordInPageDto);
+
+    void roundCoin(RoundCoinDto roundCoinDto);
+
+    void roundCoinAusdt(RoundCoinDto roundCoinDto);
+
+    FebsResponse withdrawAgree(Long id);
+
+    FebsResponse withdrawDisAgree(Long id);
 }

--
Gitblit v1.9.1