wzy
2021-05-15 35eba8a7575806ca47e435702a56b0a13f7bed0b
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;
@@ -38,7 +40,7 @@
    @Test
    public void orderUsdtProfitTest() {
        xchProfitService.usdtProfitDistributorByOrderId(7L);
        xchProfitService.usdtProfitDistributorByOrderId(17L);
    }
//
//    @Autowired
@@ -65,4 +67,16 @@
    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);
    }
}