Commit 7be65c9d authored by 刘基明's avatar 刘基明

feign fix

parent bc9b72f4
...@@ -33,7 +33,7 @@ public class ApolloRefresherConfig implements ApplicationContextAware { ...@@ -33,7 +33,7 @@ public class ApolloRefresherConfig implements ApplicationContextAware {
this.applicationContext = applicationContext; this.applicationContext = applicationContext;
} }
@ApolloConfigChangeListener(value = {"application.yml"}) @ApolloConfigChangeListener(value = {"common","application.yml"})
public void onChange(ConfigChangeEvent changeEvent) { public void onChange(ConfigChangeEvent changeEvent) {
refreshProperties(changeEvent); refreshProperties(changeEvent);
} }
......
...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List; import java.util.List;
@FeignClient(value = "service-jifen", contextId = "jifen", url = "${tanpu.jifen.svc:http://tp-jifen-svc}", path = "/jifen") @FeignClient(value = "service-jifen", contextId = "jifen", url = "${tanpu.jifen.svc:}", path = "/jifen")
public interface FeignClientForActivity { public interface FeignClientForActivity {
......
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