From 0ff7fc974cbdc3bc30293056a3b858cab69ba5c4 Mon Sep 17 00:00:00 2001 From: zhangchenbiao Date: Mon, 9 Oct 2023 10:35:49 +0800 Subject: [PATCH] rollback --- .../src/main/java/com/cool/store/http/ISVHttpRequest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coolstore-partner-service/src/main/java/com/cool/store/http/ISVHttpRequest.java b/coolstore-partner-service/src/main/java/com/cool/store/http/ISVHttpRequest.java index 3a54c2b52..92ab1ae8c 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/http/ISVHttpRequest.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/http/ISVHttpRequest.java @@ -19,6 +19,7 @@ import com.cool.store.utils.UUIDUtils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Value; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; @@ -39,8 +40,8 @@ import java.util.Objects; @Slf4j public class ISVHttpRequest { - //@Value("${isv.domain:null}") - private String isvDomain = "http://localhost:31100/isv"; + @Value("${isv.domain:null}") + private String isvDomain; @Resource private HttpRestTemplateService httpRestTemplateService;