From ce4fb58f85eefe9fe6bb6213d8f1576d1925a5ef Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 07 Jul 2020 19:15:35 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/chonggaoxiao/new_excoin --- src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java index df45836..1704f84 100644 --- a/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java +++ b/src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java @@ -2,15 +2,19 @@ import com.xcong.excoin.common.enumerates.CoinTypeEnum; import com.xcong.excoin.common.enumerates.SymbolEnum; +import com.xcong.excoin.configurations.properties.AliOssProperties; +import com.xcong.excoin.modules.coin.service.BlockCoinService; import com.xcong.excoin.modules.test.dao.TestUserDao; import com.xcong.excoin.modules.test.entity.TestUserEntity; import com.xcong.excoin.modules.test.service.TestUserService; +import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import javax.annotation.Resource; import java.util.Date; +@Slf4j @SpringBootTest class KssframeworkApplicationTests { @@ -53,5 +57,21 @@ System.out.println(SymbolEnum.BCH.getValue()); } + @Resource + AliOssProperties aliOssProperties; + + @Test + public void aliyunOssTest() { + log.info("{}", aliOssProperties.getEndPoint()); + } + + + @Resource + private BlockCoinService blockCoinService; + + @Test + public void usdtEthTest() { + blockCoinService.updateEthUsdt(); + } } -- Gitblit v1.9.1