|
@@ -1,5 +1,6 @@
|
|
|
package com.persagy;
|
|
|
|
|
|
+import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
@@ -12,7 +13,7 @@ import com.persagy.common.annotation.EnableIdGenerator;
|
|
|
@EnableIdGenerator
|
|
|
@EnableControllerLog
|
|
|
@EnableDiscoveryClient
|
|
|
-@SpringBootApplication
|
|
|
+@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
|
|
|
@EnableTransactionManagement
|
|
|
@EnableFeignClients(basePackages = "com.persagy.calendar.client")
|
|
|
public class WorkCalendarApplication {
|