浏览代码

生产环境配置

lizw 3 年之前
父节点
当前提交
5bf86cd8cc

+ 1 - 1
soap-gateway/src/main/java/com/galaxis/soap/StartSoap.java

@@ -17,7 +17,7 @@ public class StartSoap {
 
     @SneakyThrows
     public static void main(String[] args) {
-        String wsUrl = "http://0.0.0.0:9000/wms/api";
+        String wsUrl = "http://0.0.0.0:9999/wms/api";
         Endpoint.publish(wsUrl, new WMSServiceImpl());
         ApplicationContext ctx = SpringApplication.run(StartSoap.class, args);
         log.info("### 服务启动完成 === " + ctx);

+ 8 - 8
soap-gateway/src/main/java/com/galaxis/soap/wms/WMSServiceImpl.java

@@ -37,22 +37,22 @@ public class WMSServiceImpl implements WMSService {
 
     private static final String API = "/wms/api";
     // 山西
-    //private static final String SX = "http://127.0.0.1:8082";
+    private static final String SX = "http://127.0.0.1:8082";
     // 重庆
     private static final String CQ = "http://127.0.0.1:8182";
-    // 广西
-    private static final String GX = "http://127.0.0.1:8282";
-    // 四川
-    private static final String SC = "http://127.0.0.1:8382";
+//    // 广西
+//    private static final String GX = "http://127.0.0.1:8282";
+//    // 四川
+//    private static final String SC = "http://127.0.0.1:8382";
     // 物流中心编码与WebService服务映射
     private static final ConcurrentMap<String, String> WMS_MAPPING = new ConcurrentHashMap<String, String>() {{
         put("D104", ""); // 山西鸿翔一心堂药业有限公司
-        put("D103", SC); // 四川鸿翔一心堂药业有限公司
+        put("D103", ""); // 四川鸿翔一心堂药业有限公司
         put("D105", CQ); // 重庆鸿翔一心堂药业有限公司
         put("D907", ""); // 上海鸿翔一心堂药业有限公司
-        put("D101", GX); // 广西鸿翔一心堂药业有限公司
+        put("D101", ""); // 广西鸿翔一心堂药业有限公司
         put("D110", ""); // 河南鸿翔一心堂药业有限公司
-        put("D115", ""); // 一心堂药业(山西)有限公司
+        put("D115", SX); // 一心堂药业(山西)有限公司
         put("D102", ""); // 贵州鸿翔-一心堂药业有限公司
         put("D106", ""); // 成都鸿翔一心堂药业有限公司
         put("D109", ""); // 海南鸿翔一心堂药业有限公司