From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java index ad4fe9d..9582323 100644 --- a/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java +++ b/fanli/src/main/java/com/yeshi/fanli/job/ThreeSaleJob.java @@ -1,22 +1,22 @@ -package com.yeshi.fanli.job; - -import javax.annotation.Resource; - -import org.springframework.scheduling.annotation.Scheduled; -import org.springframework.stereotype.Component; - -import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce; - -@Component -public class ThreeSaleJob { - - @Resource - private ThreeSaleSerivce threeSaleSerivce; - - @Scheduled(cron = "0 0 */1 * * ? ") - public void twentyFour() { - // if (Constant.IS_TASK) - // threeSaleSerivce.validateTwentyFour(); - } - -} +package com.yeshi.fanli.job; + +import javax.annotation.Resource; + +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + +import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce; + +@Component +public class ThreeSaleJob { + + @Resource + private ThreeSaleSerivce threeSaleSerivce; + + @Scheduled(cron = "0 0 */1 * * ? ") + public void twentyFour() { + // if (Constant.IS_TASK) + // threeSaleSerivce.validateTwentyFour(); + } + +} -- Gitblit v1.8.0