package com.yonge.cooleshow.task.jobs;

import com.yonge.cooleshow.task.core.BaseTask;
import com.yonge.cooleshow.task.core.TaskException;
import com.yonge.cooleshow.api.feign.CmsFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class NoticeReleaseTask  extends BaseTask {

    @Autowired
    private CmsFeignService cmsFeignService;

    @Override
    public void execute() throws TaskException {
        cmsFeignService.noticeRelease();
    }
}
