From 504f3e9bc274bcd6c7221e738802e0e5d4aef36f Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期四, 20 六月 2024 17:07:02 +0800 Subject: [PATCH] 查询属性值和对象 通过主键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