瀏覽代碼

【越加红】【WMS对接】【XML方式对接】

wuyx 10 月之前
父節點
當前提交
cdb43a1830
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/main/resources/application-prod.yml
  2. 1 1
      src/test/java/com/uas/eis/UasEisApplicationTests.java

+ 1 - 1
src/main/resources/application-prod.yml

@@ -22,7 +22,7 @@ server:
     tomcat:
         uri_encoding: UTF-8
     context-path:
-        /eis_wms
+        /yuejh_wms
     port: 8186
 
 action:

+ 1 - 1
src/test/java/com/uas/eis/UasEisApplicationTests.java

@@ -100,7 +100,7 @@ public class UasEisApplicationTests {
 			String xml = xmlMapper.writeValueAsString(prodBaseItemsReq);
             logger.info("Request XML: {}", xml);
 			// 使用postXml方法发送请求
-//			byte[] responseBytes = HttpUtil.postXmlToVWMS("openapi.items.synchronize",xml, "UTF-8",vwmsConfig);
+//			byte[] responseBytes = HttpUtil.postXmlToVWMS("openapi.singleitem.synchronize",xml, "UTF-8",vwmsConfig);
 //			String responseText = new String(responseBytes, "UTF-8");
 			String responseText="<?xml version=\"1.0\" encoding=\"utf-8\"?><response><flag>success</flag><code>201</code><message>openapi.items.synchronize successfully</message></response>";
 			System.out.println("responseText:"+responseText);