From df51a79a9e09e0273cc50d966ad136efe8b99100 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 01 Mar 2022 10:46:32 +0800 Subject: [PATCH] Merge branch 'bea' of http://120.27.238.55:7000/r/exchange into bea --- src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java b/src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java index 92172e7..9ec7f65 100644 --- a/src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java +++ b/src/main/java/com/xcong/excoin/quartz/job/ZhiyarRewardJob.java @@ -21,11 +21,14 @@ /** * 质押奖励计算 */ +// @Scheduled(cron = "0 * * * * ? ") @Scheduled(cron = "0 0 0 * * ? ") public void updateDoingPrice() { log.info("#质押奖励计算#"); try { + //静态算力 zhiyaService.grantZhiyaAmount(); + //todo -- 动态算力计算 } catch (Exception e) { log.error("#质押奖励计算错误#", e); } -- Gitblit v1.9.1