删除master定时任务
This commit is contained in:
parent
317caccc5b
commit
0082d724db
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue