From 8d3f2400195b0ae746e51ed4871e2b0ab621c928 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 06 五月 2024 17:24:11 +0800 Subject: [PATCH] 增加月度统计手动执行接口 --- 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