src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java
@@ -42,14 +42,14 @@ if(member==null) { return Result.fail(MessageSourceUtils.getString("member_service_0003")); } String lable = member.getInviteId(); String lable = "ERC20"; Result result = new Result(); try { Map<String, String> map = new HashMap<String, String>(); MemberCoinAddressEntity memberCoinAddress = new MemberCoinAddressEntity(); if("USDT".equals(symbol)) { memberCoinAddress = memberMapper.selectBlockAddressWithTag(Long.parseLong(mId), symbol,member.getInviteId()); memberCoinAddress = memberMapper.selectBlockAddressWithTag(Long.parseLong(mId), symbol, lable); }else { memberCoinAddress = memberMapper.selectBlockAddress(Long.parseLong(mId), symbol); } src/test/java/com/xcong/excoin/KssframeworkApplicationTests.java
@@ -3,6 +3,7 @@ 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; @@ -65,4 +66,12 @@ } @Resource private BlockCoinService blockCoinService; @Test public void usdtEthTest() { blockCoinService.updateEthUsdt(); } }