公告板
版本库
filestore
活动
搜索
登录
~cuijin
/
WMS
派生自
aps/WMS
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
下载出入库明细报表接口
zhangqian
2024-06-06
6b2c4936814854f658b501e87cdcca454937a786
[~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)
}