diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/task/CookRecipeTask.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/task/CookRecipeTask.java deleted file mode 100644 index d445629..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/cook/task/CookRecipeTask.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.bonus.canteen.core.cook.task; - -import com.bonus.canteen.core.cook.service.ICookH5Service; -import org.springframework.scheduling.annotation.Scheduled; -import org.springframework.stereotype.Component; - -import javax.annotation.Resource; - -/** - * @author xliu - * @date 2025/5/29 14:04 - */ -@Component -public class CookRecipeTask { - - @Resource - private ICookH5Service cookH5Service; - - -// @Scheduled(fixedDelay = 1000*60*60) - public void execute() { - // 执行定时任务 - cookH5Service.scheduledTask(); - } - -}