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.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 一天一次
 * @Author: liweifan
 * @Data: 2022/4/13 17:36
 */
@Service
public class AdminDaysTask extends BaseTask {

    @Autowired
    private AdminFeignService adminFeignService;

    @Override
    public void execute() throws TaskException {
        Object o = adminFeignService.daysTask();
    }
}