优化 FeignClient 生成的 Bean 名称,直接使用 类名 小写开头
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
package com.jeesite.modules;
|
||||
|
||||
import com.jeesite.modules.cloud.feign.EnableFeignClients;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -19,7 +20,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
|
||||
/**
|
||||
* Application
|
||||
|
||||
@@ -92,7 +92,6 @@ spring:
|
||||
# 打印横幅
|
||||
main:
|
||||
bannerMode: "off"
|
||||
allow-bean-definition-overriding: true
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
|
||||
Reference in New Issue
Block a user