From f45e4cb8045fe60f96f467dc4ea1e2ae57445712 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 03 七月 2024 23:13:40 +0800 Subject: [PATCH] 默认位置parent_id为视图位置id --- 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