公告板
版本库
filestore
活动
搜索
登录
~cuijin
/
WMS
派生自
aps/WMS
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
调整库存商品位置错误
yinbentan
2024-07-06
79aef24a785581d95343ccd99e9cb362b2bc9c97
[~cuijin/WMS.git]
/
service
/
alarm.go
1
2
3
4
5
6
7
8
9
10
11
package service
import (
"wms/conf"
"wms/utils/dingtalkrobot"
)
func SendAlarm(title, content string) {
content = "- 标题:" + title + "\n- 公司:" + conf.WebConf.CompanyName + "\n - 报警内容:" + content
dingtalkrobot.Robot.Alarm("WMS报警", content)
}