From 60406a67c82f82d0fbc74372f1a46ae68e427a5d Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 17 Feb 2019 20:00:39 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96feign=E9=9B=86?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/springblade/auth/AuthApplication.java | 4 ++-- .../main/java/org/springblade/develop/DevelopApplication.java | 4 ++-- .../src/main/java/org/springblade/desk/DeskApplication.java | 4 ++-- .../main/java/org/springblade/core/log/LogApplication.java | 4 ++-- .../main/java/org/springblade/system/SystemApplication.java | 4 ++-- .../java/org/springblade/system/user/UserApplication.java | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/blade-auth/src/main/java/org/springblade/auth/AuthApplication.java b/blade-auth/src/main/java/org/springblade/auth/AuthApplication.java index 22fa6e79..58b48c1d 100644 --- a/blade-auth/src/main/java/org/springblade/auth/AuthApplication.java +++ b/blade-auth/src/main/java/org/springblade/auth/AuthApplication.java @@ -17,18 +17,18 @@ package org.springblade.auth; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * 用户认证服务器 * * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class AuthApplication { public static void main(String[] args) { diff --git a/blade-ops/blade-develop/src/main/java/org/springblade/develop/DevelopApplication.java b/blade-ops/blade-develop/src/main/java/org/springblade/develop/DevelopApplication.java index 38a1079b..4276bbee 100644 --- a/blade-ops/blade-develop/src/main/java/org/springblade/develop/DevelopApplication.java +++ b/blade-ops/blade-develop/src/main/java/org/springblade/develop/DevelopApplication.java @@ -16,18 +16,18 @@ */ package org.springblade.develop; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * Develop启动器 * * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class DevelopApplication { public static void main(String[] args) { diff --git a/blade-service/blade-desk/src/main/java/org/springblade/desk/DeskApplication.java b/blade-service/blade-desk/src/main/java/org/springblade/desk/DeskApplication.java index 4d33ea86..22a95378 100644 --- a/blade-service/blade-desk/src/main/java/org/springblade/desk/DeskApplication.java +++ b/blade-service/blade-desk/src/main/java/org/springblade/desk/DeskApplication.java @@ -16,18 +16,18 @@ */ package org.springblade.desk; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * Desk启动器 * * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class DeskApplication { public static void main(String[] args) { diff --git a/blade-service/blade-log/src/main/java/org/springblade/core/log/LogApplication.java b/blade-service/blade-log/src/main/java/org/springblade/core/log/LogApplication.java index 412a1144..7c2d1e34 100644 --- a/blade-service/blade-log/src/main/java/org/springblade/core/log/LogApplication.java +++ b/blade-service/blade-log/src/main/java/org/springblade/core/log/LogApplication.java @@ -16,18 +16,18 @@ */ package org.springblade.core.log; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * 日志服务 * * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class LogApplication { public static void main(String[] args) { diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/SystemApplication.java b/blade-service/blade-system/src/main/java/org/springblade/system/SystemApplication.java index 52eb3eba..25ec9198 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/SystemApplication.java +++ b/blade-service/blade-system/src/main/java/org/springblade/system/SystemApplication.java @@ -16,17 +16,17 @@ */ package org.springblade.system; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * 系统模块启动器 * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class SystemApplication { public static void main(String[] args) { diff --git a/blade-service/blade-user/src/main/java/org/springblade/system/user/UserApplication.java b/blade-service/blade-user/src/main/java/org/springblade/system/user/UserApplication.java index aea4a5ce..cee75552 100644 --- a/blade-service/blade-user/src/main/java/org/springblade/system/user/UserApplication.java +++ b/blade-service/blade-user/src/main/java/org/springblade/system/user/UserApplication.java @@ -16,18 +16,18 @@ */ package org.springblade.system.user; +import org.springblade.core.cloud.feign.EnableBladeFeign; import org.springblade.core.launch.BladeApplication; import org.springblade.core.launch.constant.AppConstant; import org.springframework.cloud.client.SpringCloudApplication; -import org.springframework.cloud.openfeign.EnableFeignClients; /** * 用户启动器 * * @author Chill */ +@EnableBladeFeign @SpringCloudApplication -@EnableFeignClients(AppConstant.BASE_PACKAGES) public class UserApplication { public static void main(String[] args) {