公告板
版本库
filestore
活动
搜索
登录
aps
/
WMS
仓库管理系统
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
月度统计查询多单位数据计算改查询。
zhangqian
2024-08-01
fc3313955a083c9480e4ea74398f72f9ba6addcd
[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)
}