zhangchenm 2 週間 前
コミット
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;