From fd575f1971b145088b56c125f9f3ce3bf2429ebc Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 18:41:48 +0800
Subject: [PATCH] Merge branch 'yunding' of http://120.27.238.55:7000/r/exchange into yunding

---
 src/test/java/com/xcong/excoin/XchTest.java |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/test/java/com/xcong/excoin/XchTest.java b/src/test/java/com/xcong/excoin/XchTest.java
index be438a4..f7497fa 100644
--- a/src/test/java/com/xcong/excoin/XchTest.java
+++ b/src/test/java/com/xcong/excoin/XchTest.java
@@ -3,6 +3,8 @@
 
 import cn.hutool.core.date.DateUnit;
 import cn.hutool.core.date.DateUtil;
+import com.xcong.excoin.modules.coin.parameter.dto.CoinInListDto;
+import com.xcong.excoin.modules.coin.service.CoinService;
 import com.xcong.excoin.modules.yunding.dao.YdOrderDao;
 import com.xcong.excoin.modules.yunding.entity.YdOrderEntity;
 import com.xcong.excoin.modules.yunding.service.XchProfitService;
@@ -60,4 +62,21 @@
         orderEntity.setAmount(BigDecimal.TEN);
         ydOrderDao.insert(orderEntity);
     }
+
+    @Test
+    public void xchProfitTest() {
+        xchProfitService.xchProfitDistributor(BigDecimal.valueOf(1));
+    }
+
+    @Autowired
+    private CoinService coinService;
+
+    @Test
+    public void coinTest() {
+        CoinInListDto coin = new CoinInListDto();
+        coin.setType(4);
+        coin.setPageNum(1);
+        coin.setPageSize(10);
+        coinService.coinInList(coin);
+    }
 }

--
Gitblit v1.9.1