Pu Zhibing
2025-06-19 546be8a1bafdfc804575a8d07a5d9f2306c29c42
ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/scheduler/ActivityScheduler.java
@@ -2,14 +2,14 @@
import com.ruoyi.goods.service.activity.ActivityService;
import lombok.extern.slf4j.Slf4j;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Component
@Slf4j
@Log4j2
public class ActivityScheduler {
@@ -20,7 +20,7 @@
    private ActivityService activityService;
    /**
     * 活动定时开始
     * 每1小时检查活动定时开始
     */
    @Scheduled(cron="0 0 */1 * * ?")
    private void timingSendCoupon(){