From deecdeec560af558b5a3e745b1540332959009ec Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 25 六月 2024 11:27:04 +0800
Subject: [PATCH] fix
---
service/alarm.go | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/service/alarm.go b/service/alarm.go
index 9a4bff6..8e2f9c6 100644
--- a/service/alarm.go
+++ b/service/alarm.go
@@ -6,7 +6,6 @@
)
func SendAlarm(title, content string) {
- title = "WMS鎶ヨ"
- content = "-鏍囬锛�" + title + "\n- 鍏徃锛�" + conf.WebConf.CompanyName + "\n - 鎶ヨ鍐呭锛�" + content
- dingtalkrobot.Robot.Alarm(title, content)
+ content = "- 鏍囬锛�" + title + "\n- 鍏徃锛�" + conf.WebConf.CompanyName + "\n - 鎶ヨ鍐呭锛�" + content
+ dingtalkrobot.Robot.Alarm("WMS鎶ヨ", content)
}
--
Gitblit v1.8.0