Modify the "Time" in the AliyunSMS to local time. (#5582)

This commit is contained in:
希亚
2025-02-01 07:12:09 +08:00
committed by GitHub
parent 20820f5a5a
commit 784ac9ca35

View File

@@ -17,7 +17,7 @@ class AliyunSMS extends NotificationProvider {
if (heartbeatJSON != null) { if (heartbeatJSON != null) {
let msgBody = JSON.stringify({ let msgBody = JSON.stringify({
name: monitorJSON["name"], name: monitorJSON["name"],
time: heartbeatJSON["time"], time: heartbeatJSON["localDateTime"],
status: this.statusToString(heartbeatJSON["status"]), status: this.statusToString(heartbeatJSON["status"]),
msg: heartbeatJSON["msg"], msg: heartbeatJSON["msg"],
}); });