downgrade xxl-job release

This commit is contained in:
JiyangTang 2024-06-17 16:02:10 +08:00
parent facabbf4ae
commit 4119c70c0e

View File

@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.cloud.context.config.annotation.RefreshScope;
@ -39,6 +40,7 @@ public class NoticeScheduleHandler extends IJobHandler {
private INoticeLogService noticeLogService;
@Override
@XxlJob("noticeScheduleHandler")
public ReturnT<String> execute(String params) throws Exception {
Arrays.stream(NoticeTypeEnum.values())
.forEach(noticeType -> {