Commit 9ac97197 authored by duanruiming's avatar duanruiming

spring.factories自动装配方式

parent 58daf8b3
......@@ -8,7 +8,7 @@
</parent>
<artifactId>signal-feign-service</artifactId>
<name>signal-feign-service</name>
<version>0.0.1</version>
<version>0.0.2</version>
<dependencies>
<dependency>
......
......@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
* @date 2023/01/09 15:23
*/
@Configuration(value = "FeignClientsConfig")
//@EnableFeignClients(basePackages = "net.wanji.feign")
@EnableFeignClients(basePackages = "net.wanji.feign")
public class FeignClientsConfig {
@Value("${utc.service.url}")
......
#org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
#net.wanji.feign.config.FeignClientsConfig
\ No newline at end of file
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
net.wanji.feign.config.FeignClientsConfig
\ 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