update 更新xxljob配置类 增加配置注解
This commit is contained in:
parent
6f3f89a0d3
commit
809774d87c
@ -7,6 +7,7 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* xxl-job config
|
||||
@ -14,6 +15,7 @@ import org.springframework.context.annotation.Bean;
|
||||
* @author Lion Li
|
||||
*/
|
||||
@Slf4j
|
||||
@Configuration
|
||||
@EnableConfigurationProperties(XxlJobProperties.class)
|
||||
@AllArgsConstructor
|
||||
public class XxlJobConfig {
|
||||
|
Loading…
x
Reference in New Issue
Block a user