Browse Source

修改默认值

gaoyu 2 years ago
parent
commit
32022e21de

+ 1 - 1
src/main/java/com/persagy/apm/alarmservice/dependency/eqdiagnose/client/EqDiagnoseClient.java

@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.PostMapping;
  * @author lixing
  * @version V1.0 2021/3/22 2:13 下午
  **/
-@FeignClient(name = FeignClientNameConstants.ENERGY_EQ_RUN_DIAGNOSE, url="${diagnose.url}", fallbackFactory = EqDiagnoseClientFallbackFactory.class)
+@FeignClient(name = FeignClientNameConstants.ENERGY_EQ_RUN_DIAGNOSE, url="${diagnose.url:}", fallbackFactory = EqDiagnoseClientFallbackFactory.class)
 public interface EqDiagnoseClient {
 
     /**

+ 1 - 1
src/main/java/com/persagy/apm/alarmservice/dependency/rwd/client/DmpRwdClient.java

@@ -25,7 +25,7 @@ import feign.Headers;
  * @author lixing
  * @version V1.0 2021/3/22 2:13 下午
  **/
-@FeignClient(name = FeignClientNameConstants.DMP_RWD, url="${dmp_rwd.url}" ,fallbackFactory = DmpRwdClientFallbackFactory.class)
+@FeignClient(name = FeignClientNameConstants.DMP_RWD, url="${dmp_rwd.url:}" ,fallbackFactory = DmpRwdClientFallbackFactory.class)
 public interface DmpRwdClient {
 
     /**

+ 1 - 1
src/main/java/com/persagy/apm/alarmservice/dependency/saasweb/client/SaasWebClient.java

@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RequestParam;
  * @author lixing
  * @version V1.0 2021/3/22 2:13 下午
  **/
-@FeignClient(name = FeignClientNameConstants.SAAS_WEB, url="${saas_web.url}", fallbackFactory = SaasWebClientFallbackFactory.class)
+@FeignClient(name = FeignClientNameConstants.SAAS_WEB, url="${saas_web.url:}", fallbackFactory = SaasWebClientFallbackFactory.class)
 public interface SaasWebClient {
 
     /**