瀏覽代碼

sop 配置

zhangchenm 1 周之前
父節點
當前提交
f165a0ccc3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      trade-service/src/main/java/com/trade/service/contract/config/SOPConfigHolder.java

+ 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;
 
 @Component
-@ConditionalOnProperty("sop")
+@ConditionalOnProperty(prefix = "sop", name = "urlPrefix")
 public class SOPConfigHolder {
 
     private static String urlPrefix;