|
@@ -7,17 +7,16 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
-import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.context.ApplicationContext;
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
@EnableDiscoveryClient
|
|
|
-@EnableScheduling
|
|
|
@SpringBootApplication
|
|
|
+@EnableScheduling
|
|
|
@ServletComponentScan(basePackages = {"com.zfire.jiasm.syncdata"})
|
|
|
@EnableAsync
|
|
|
-@EnableFeignClients
|
|
|
+// @EnableFeignClients
|
|
|
@EnableCaching
|
|
|
@MapperScan(basePackages = {
|
|
|
"com.zfire.jiasm.syncdata.plus.mapper",
|