package cn.ibizlab.core.util.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import com.baomidou.jobs.starter.EnableJobs;

//@ConditionalOnExpression("!'${jobs.admin-address:NA}'.equals('NA')")
@ConditionalOnProperty(name = "jobs.enabled", havingValue = "true", matchIfMissing = false)
@EnableJobs
@Configuration
public class XxlJobConfig {

}
