Commit 9ac97197 authored by duanruiming's avatar duanruiming

spring.factories自动装配方式

parent 58daf8b3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</parent> </parent>
<artifactId>signal-feign-service</artifactId> <artifactId>signal-feign-service</artifactId>
<name>signal-feign-service</name> <name>signal-feign-service</name>
<version>0.0.1</version> <version>0.0.2</version>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
* @date 2023/01/09 15:23 * @date 2023/01/09 15:23
*/ */
@Configuration(value = "FeignClientsConfig") @Configuration(value = "FeignClientsConfig")
//@EnableFeignClients(basePackages = "net.wanji.feign") @EnableFeignClients(basePackages = "net.wanji.feign")
public class FeignClientsConfig { public class FeignClientsConfig {
@Value("${utc.service.url}") @Value("${utc.service.url}")
......
#org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
#net.wanji.feign.config.FeignClientsConfig net.wanji.feign.config.FeignClientsConfig
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment