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;