package com.yonge.cooleshow.task.jobs;

import com.yonge.cooleshow.api.feign.AdminFeignService;
import com.yonge.cooleshow.task.core.BaseTask;
import com.yonge.cooleshow.task.core.TaskException;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CourseStartRemindTask extends BaseTask {

    @Resource
    private AdminFeignService adminFeignService;

    @Override
    public void execute() throws TaskException {
        adminFeignService.courseStartRemind();
    }
}
