From 91d7ca06128f996844aa7d2d691d083c944bdf1d Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期三, 03 七月 2024 17:22:16 +0800 Subject: [PATCH] 导入物料/产品->新模版BUG修复 --- 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