|
@@ -12,6 +12,7 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
|
import org.springframework.core.env.Environment;
|
|
|
+import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
import java.net.InetAddress;
|
|
|
import java.net.UnknownHostException;
|
|
@@ -23,6 +24,7 @@ import java.net.UnknownHostException;
|
|
|
*/
|
|
|
|
|
|
@EnableCustomSwagger2
|
|
|
+@EnableScheduling
|
|
|
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
|
|
|
@EnableFeignClients(basePackages = {"com.usky"})
|
|
|
@MapperScan(value = "com.usky.system.mapper")
|