Commit 122f7254 authored by 刘基明's avatar 刘基明

Merge branch 'v2.2.9' into dev

parents 7e248d69 bdad70dd
......@@ -33,7 +33,7 @@ public class ApolloRefresherConfig implements ApplicationContextAware {
this.applicationContext = applicationContext;
}
@ApolloConfigChangeListener(value = {"application.yml"})
@ApolloConfigChangeListener(value = {"common","application.yml"})
public void onChange(ConfigChangeEvent changeEvent) {
refreshProperties(changeEvent);
}
......
......@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam;
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 {
......
......@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "service-community", url = "${tanpu.community.svc:http://tp-community-svc}", path = "/community")
@FeignClient(value = "service-community", url = "${tanpu.community.svc:}", path = "/community")
// @FeignClient(value = "service-community", contextId = "community", fallbackFactory = FeignBackClientForCommunity.class, url = "http://127.0.0.1:8202/community")
public interface FeignClientForCommunity {
......
......@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(value = "service-course", contextId = "course", url = "${tanpu.course.svc:http://tp-course-svc}", path = "/course")
@FeignClient(value = "service-course", contextId = "course", url = "${tanpu.course.svc:}", path = "/course")
//@FeignClient(value = "service-course", contextId = "course", fallbackFactory = FeignBackClientForCourse.class, url = "http://172.20.1.249:8060/course")
public interface FeignClientForCourse {
......
......@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(value = "service-diagnose", url = "${tanpu.diagnose.svc:http://tp-diagnose-svc}", path = "/diagnose")
@FeignClient(value = "service-diagnose", url = "${tanpu.diagnose.svc:}", path = "/diagnose")
//@FeignClient(value = "service-diagnose", contextId = "diagnose", fallbackFactory = FeignBackClientForDiagnose.class, path = "http://172.20.1.249:8201/diagnose")
public interface FeignClientForDiagnose {
......
......@@ -19,7 +19,7 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
@FeignClient(value = "fatools", contextId = "fatools", url = "${tanpu.fatools.svc:http://tp-fatools-svc}", path = "/fatools")
@FeignClient(value = "fatools", contextId = "fatools", url = "${tanpu.fatools.svc:}", path = "/fatools")
//@FeignClient(value = "fatools", contextId = "fatoolsUser", fallbackFactory = FeignbackForFatools.class, path = "/fatools")
public interface FeignClientForFatools {
......
......@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(value = "service-product", url = "${tanpu.product.svc:http://tp-product-svc}", path = "/product")
@FeignClient(value = "service-product", url = "${tanpu.product.svc:}", path = "/product")
//@FeignClient(value = "service-product", contextId = "product", fallbackFactory = FeignBackClientForProducts.class, url = "http://172.20.0.68:8194/product")
public interface FeignClientForProducts {
......
......@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(value = "service-fundpublic", contextId = "fundpublic", url = "${tanpu.fundpublic.svc:http://tp-fundpublic-svc}", path = "/fundpublic")
@FeignClient(value = "service-fundpublic", contextId = "fundpublic", url = "${tanpu.fundpublic.svc:}", path = "/fundpublic")
//@FeignClient(value = "service-fundpublic",path = "/fundpublic")
public interface FeignForPublicFund {
......
......@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(value = "service-tanpuroom", url = "${tanpu.tanpuroom.svc:http://tp-tanpuroom-svc}", path = "/tanpuroom")
@FeignClient(value = "service-tanpuroom", url = "${tanpu.tanpuroom.svc:}", path = "/tanpuroom")
//@FeignClient(value = "service-tanpuroom", contextId = "tanpuroom", fallbackFactory = FeignBackClientForTanpuroom.class, url = "http://172.20.0.183:8086/tanpuroom")
public interface FeignClientForTanpuroom {
......
......@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@FeignClient(value = "service-zhibo", url = "${tanpu.feo-zhibo.svc:http://tp-zhibo-svc}", path = "/zhibo")
@FeignClient(value = "service-zhibo", url = "${tanpu.feo-zhibo.svc:}", path = "/zhibo")
//@FeignClient(value = "service-zhibo", fallbackFactory = FeignbackForZhibo.class, url = "http://172.20.0.169:8183/zhibo")
public interface FeignClientForZhibo {
......
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