package org.jeecg.modules.ctop.job;

import cn.com.ctop.crawler.modules.dataeye.service.DataeyeMediaService;
import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

@Slf4j
public class DataeyeJob implements Job {
    @Autowired
    private DataeyeMediaService dataeyeMediaService;
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        dataeyeMediaService.getMediaList();
    }
}
