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();
    }

}
