Browse Source

优化feign集成

test
smallchill 6 years ago
parent
commit
60406a67c8
  1. 4
      blade-auth/src/main/java/org/springblade/auth/AuthApplication.java
  2. 4
      blade-ops/blade-develop/src/main/java/org/springblade/develop/DevelopApplication.java
  3. 4
      blade-service/blade-desk/src/main/java/org/springblade/desk/DeskApplication.java
  4. 4
      blade-service/blade-log/src/main/java/org/springblade/core/log/LogApplication.java
  5. 4
      blade-service/blade-system/src/main/java/org/springblade/system/SystemApplication.java
  6. 4
      blade-service/blade-user/src/main/java/org/springblade/system/user/UserApplication.java

4
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) {

4
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) {

4
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) {

4
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) {

4
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) {

4
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) {

Loading…
Cancel
Save