| | |
| | | |
| | | import com.xcong.excoin.modules.coin.service.ZhiyaService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | @ConditionalOnProperty(prefix = "app", name = "newest-price-update-job", havingValue = "true") |
| | | public class ZhiyarRewardJob { |
| | | |
| | | |
| | |
| | | */ |
| | | @Scheduled(cron = "0 * * * * ? ") |
| | | // @Scheduled(cron = "0 0 0 * * ? ") |
| | | public void updateZhiyaPrice() { |
| | | public void updateDoingPrice() { |
| | | log.info("#质押奖励计算#"); |
| | | try { |
| | | //静态算力 |