From 71bc98161c605c585fb9fd62ae84a735a3650e8b Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期三, 17 七月 2019 21:41:10 +0800
Subject: [PATCH] 服务绑定开发选择服务环节
---
CodeService/src/main/java/com/java110/code/CodeServiceApplicationStart.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CodeService/src/main/java/com/java110/code/CodeServiceApplicationStart.java b/CodeService/src/main/java/com/java110/code/CodeServiceApplicationStart.java
index 2e22103..15540ea 100644
--- a/CodeService/src/main/java/com/java110/code/CodeServiceApplicationStart.java
+++ b/CodeService/src/main/java/com/java110/code/CodeServiceApplicationStart.java
@@ -19,7 +19,7 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.cloud.netflix.feign.EnableFeignClients;
+import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import java.net.InetAddress;
@@ -36,7 +36,7 @@
* @tag
*/
@SpringBootApplication(scanBasePackages = {"com.java110.service", "com.java110.code", "com.java110.core", "com.java110.cache",
- "com.java110.config.properties.code"})
+ "com.java110.config.properties.code", "com.java110.db"})
//@SpringBootApplication(scanBasePackages = {"com.java110.service","com.java110.code","com.java110.config.properties.code"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.java110.core.smo"})
--
Gitblit v1.8.0