From 61b706ef913c445d74d5443b087622740923b66b Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期二, 09 七月 2019 01:04:18 +0800
Subject: [PATCH] 修改查询js

---
 RuleService/src/main/java/com/java110/rule/AppSpringBootApplication.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/RuleService/src/main/java/com/java110/rule/AppSpringBootApplication.java b/RuleService/src/main/java/com/java110/rule/AppSpringBootApplication.java
index ed3d219..4f1bf20 100644
--- a/RuleService/src/main/java/com/java110/rule/AppSpringBootApplication.java
+++ b/RuleService/src/main/java/com/java110/rule/AppSpringBootApplication.java
@@ -7,6 +7,7 @@
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+import org.springframework.cloud.openfeign.EnableFeignClients;
 
 
 /**
@@ -18,15 +19,16 @@
  * @date 2016骞�8鏈�6鏃�
  * @tag
  */
-@SpringBootApplication(scanBasePackages="com.java110.service,com.java110.rule")
+@SpringBootApplication(scanBasePackages = "com.java110.service,com.java110.rule")
 @EnableDiscoveryClient
 @EnableConfigurationProperties(EventProperties.class)
+@EnableFeignClients(basePackages = {"com.java110.core.smo"})
 public class AppSpringBootApplication {
 
     private final static Logger logger = LoggerFactory.getLogger(AppSpringBootApplication.class);
 
 
-    public static void main(String[] args) throws Exception{
+    public static void main(String[] args) throws Exception {
         SpringApplication.run(AppSpringBootApplication.class, args);
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0