src/main/java/com/xcong/excoin/modules/blackchain/UsdtEthService.java | ●●●●● patch | view | raw | blame | history | |
src/main/java/com/xcong/excoin/modules/member/service/impl/MemberServiceImpl.java | ●●●●● patch | view | raw | blame | history | |
src/main/java/com/xcong/excoin/quartz/job/NotionalPoolingJob.java | ●●●●● patch | view | raw | blame | history |
src/main/java/com/xcong/excoin/modules/blackchain/UsdtEthService.java
New file @@ -0,0 +1,11 @@ package com.xcong.excoin.modules.blackchain; import org.springframework.stereotype.Component; /** * @author wzy * @date 2020-07-03 **/ @Component public class UsdtEthService { } src/main/java/com/xcong/excoin/modules/member/service/impl/MemberServiceImpl.java
@@ -146,6 +146,7 @@ member.setCertifyStatus(MemberEntity.CERTIFY_STATUS_UN_SUBMIT); member.setIsForce(0); member.setIsProfit(0); member.setSpread(BigDecimal.ZERO); memberDao.insert(member); String inviteId = ShareCodeUtil.toSerialCode(member.getId()); src/main/java/com/xcong/excoin/quartz/job/NotionalPoolingJob.java
@@ -1,6 +1,7 @@ package com.xcong.excoin.quartz.job; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** @@ -13,4 +14,19 @@ @Component @ConditionalOnProperty(prefix = "app", name = "block-job", havingValue = "true") public class NotionalPoolingJob { @Scheduled(cron = "0 5/30 * * * ? ") public void poolUsdtEth() { } @Scheduled(cron = "0 2/8 * * * ? ") public void usdtEthPoolCheck() { } @Scheduled(cron = "0 2/30 * * * ? ") public void poolEth() { } }