From dbe87fddc43db7e5486489c3a011cc6474c4701c Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 09 十月 2025 16:46:42 +0800
Subject: [PATCH] #和得服务器
---
src/main/java/com/zy/asrs/task/handler/OrderToLineHandler.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/handler/OrderToLineHandler.java b/src/main/java/com/zy/asrs/task/handler/OrderToLineHandler.java
index 2305e09..143bc74 100644
--- a/src/main/java/com/zy/asrs/task/handler/OrderToLineHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/OrderToLineHandler.java
@@ -17,6 +17,9 @@
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
+import java.util.HashMap;
+import java.util.Map;
+
@Slf4j
@Service
@Transactional
@@ -39,7 +42,10 @@
String response = "";
boolean success = false;
try {
+ Map<String, Object> map = new HashMap<>();
+ map.put("appkey","ea1f0459efc02a79f046f982767939ae");
response = new HttpHandler.Builder()
+ .setHeaders(map)
.setUri(URL)
.setPath(Path)
.setJson(JSON.toJSONString(orderToline))
--
Gitblit v1.9.1