From 088b5e58e9ad47f71f521840f175af8cff4761ee Mon Sep 17 00:00:00 2001
From: ynhfasrs <ynhfasrs@qq.com>
Date: 星期二, 02 九月 2025 16:59:09 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/task/NotifyScheduler.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/NotifyScheduler.java b/src/main/java/com/zy/asrs/task/NotifyScheduler.java
index 3dfc3a2..f9203cc 100644
--- a/src/main/java/com/zy/asrs/task/NotifyScheduler.java
+++ b/src/main/java/com/zy/asrs/task/NotifyScheduler.java
@@ -91,27 +91,27 @@
if (notifyDto.getSendCustomData()) {
//鑷畾涔夋秷鎭牸寮�
NotifyCustomDataDto customData = notifyDto.getCustomData();
+ apiLog.setUrl(customData.getUri() + customData.getPath());
+ apiLog.setRequest(customData.getData());
+ apiLog.setCreateTime(new Date());
+
response = new HttpHandler.Builder()
.setUri(customData.getUri())
.setPath(customData.getPath())
.setJson(customData.getData())
.build()
.doPost();
-
- apiLog.setUrl(customData.getUri() + customData.getPath());
- apiLog.setRequest(customData.getData());
- apiLog.setCreateTime(new Date());
}else {
+ apiLog.setUrl(notifyUri + notifyUriPath);
+ apiLog.setRequest(JSON.toJSONString(notifyDto));
+ apiLog.setCreateTime(new Date());
+
response = new HttpHandler.Builder()
.setUri(notifyUri)
.setPath(notifyUriPath)
.setJson(JSON.toJSONString(notifyDto))
.build()
.doPost();
-
- apiLog.setUrl(notifyUri + notifyUriPath);
- apiLog.setRequest(JSON.toJSONString(notifyDto));
- apiLog.setCreateTime(new Date());
}
apiLog.setResponse(response);
--
Gitblit v1.9.1