Browse Source

sop 配置

zhangchenm 2 weeks ago
parent
commit
f165a0ccc3

+ 1 - 1
trade-service/src/main/java/com/trade/service/contract/config/SOPConfigHolder.java

@@ -5,7 +5,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
 import org.springframework.stereotype.Component;
 import org.springframework.stereotype.Component;
 
 
 @Component
 @Component
-@ConditionalOnProperty("sop")
+@ConditionalOnProperty(prefix = "sop", name = "urlPrefix")
 public class SOPConfigHolder {
 public class SOPConfigHolder {
 
 
     private static String urlPrefix;
     private static String urlPrefix;