From faf4b90049c0c21b1fcb6504f030f9708a07fa2a Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期五, 05 七月 2024 08:29:56 +0800
Subject: [PATCH] -

---
 jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java |    2 +-
 jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java              |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java b/jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java
index d0ca38c..420ea7b 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java
@@ -41,7 +41,6 @@
     public static final Integer INT_THREE= 3;
     public static final Integer INT_FOUR= 4;
     public static final Integer INT_ZERO= 0;
-
-
+    public static final String orderLineUrl = "https://imes-uat-group.geelycv-test.com/api/mom-open/restful/aMesSysIntegration";
 
 }
diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
index 460fa80..fdc4e88 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
@@ -507,7 +507,7 @@
                     parentVO.setCheckList(mesList);
 
                     log.info("鎵ц宸ュ巶MES鏂规硶start锛屼紶鍏ユ暟鎹細{}",parentVO);
-                    HttpResponse execute = HttpRequest.post(orderLineUrl).body(JSONUtil.toJsonStr(parentVO)).execute();
+                    HttpResponse execute = HttpRequest.post(Constants.orderLineUrl).body(JSONUtil.toJsonStr(parentVO)).execute();
                     log.info("鎵ц宸ュ巶MES鏂规硶end锛岃繑鍥炴暟鎹細{}",execute.body());
 
                 });

--
Gitblit v1.9.3