From 8a524787c88a9128cc69af890d4181a01aad0e8c Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期六, 06 七月 2019 23:09:33 +0800
Subject: [PATCH] 修改代码生成器生成的app 加入user_id 的问题
---
LogService/src/main/java/com/java110/log/LogServiceApplicationStart.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/LogService/src/main/java/com/java110/log/LogServiceApplicationStart.java b/LogService/src/main/java/com/java110/log/LogServiceApplicationStart.java
index d237c61..7fab9b0 100644
--- a/LogService/src/main/java/com/java110/log/LogServiceApplicationStart.java
+++ b/LogService/src/main/java/com/java110/log/LogServiceApplicationStart.java
@@ -8,6 +8,7 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
/**
@@ -19,8 +20,10 @@
* @date 2016骞�8鏈�6鏃�
* @tag
*/
-@SpringBootApplication(scanBasePackages = {"com.java110.service","com.java110.log","com.java110.core","com.java110.cache"})
+@SpringBootApplication(scanBasePackages = {"com.java110.service","com.java110.log",
+"com.java110.feign.code","com.java110.core","com.java110.cache"})
@EnableDiscoveryClient
+@EnableFeignClients(basePackages = {"com.java110.core.smo"})
public class LogServiceApplicationStart {
--
Gitblit v1.8.0