fix
Helius
2022-02-25 d522a03566af549b9fabcf7e7d23c166f45c959e
src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java
@@ -1,6 +1,6 @@
package com.xcong.excoin.quartz.job;
import com.xcong.excoin.modules.coin.service.CoinService;
import com.xcong.excoin.modules.coin.service.ZhiyaService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@@ -16,16 +16,16 @@
    @Resource
    private CoinService coinService;
    private ZhiyaService zhiyaService;
    /**
     * 质押奖励计算
     */
    @Scheduled(cron = "0 0/1 * * * ? ")
    @Scheduled(cron = "0 0 0 * * ? ")
    public void updateDoingPrice() {
        log.info("#质押奖励计算#");
        try {
            coinService.grantZhiyaAmount();
            zhiyaService.grantZhiyaAmount();
        } catch (Exception e) {
            log.error("#质押奖励计算错误#", e);
        }