xiaoyong931011
2021-05-15 1089e7795ac98fc0486694e5116f44ee28807f7c
src/main/java/com/xcong/excoin/quartz/job/XchBaseDataUpdateJob.java
@@ -35,8 +35,9 @@
    @Autowired
    private XchProfitService xchProfitService;
    @Scheduled(cron = "* */1 * * * ? ")
    @Scheduled(cron = "0 0/1 * * * ? ")
    public void baseDataUpdate() {
        log.info("基础数据更新任务");
        // 请求价格等数据
        String result = getUrlResponse("https://api2.chiaexplorer.com/blockchainSummary");
        // 每t预计收益
@@ -112,6 +113,6 @@
//    @Scheduled(cron = "0 0 22 * * ?")
    public void usdtProfitJob() {
        log.info("USDT返利任务");
        xchProfitService.agentUsdtProfitDistributor();
//        xchProfitService.agentUsdtProfitDistributor();
    }
}