公告板
版本库
filestore
活动
搜索
登录
aps
/
WMS
仓库管理系统
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'jialian' of http://192.168.5.5:10010/r/aps/WMS into jialian
zhangqian
2024-07-23
303fadd07629048d091862e09f4e67c2b98e4ecd
[aps/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)
}