xiaoyong931011
2022-03-01 167e8a6c8909624c0a6016d2839ff871b9f0c3d4
src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java
@@ -21,11 +21,14 @@
    /**
     * 质押奖励计算
     */
    @Scheduled(cron = "0 0 0 * * ? ")
    @Scheduled(cron = "0 * * * * ? ")
//    @Scheduled(cron = "0 0 0 * * ? ")
    public void updateDoingPrice() {
        log.info("#质押奖励计算#");
        try {
            //静态算力
            zhiyaService.grantZhiyaAmount();
            //todo -- 动态算力计算
        } catch (Exception e) {
            log.error("#质押奖励计算错误#", e);
        }