公告板
版本库
filestore
活动
搜索
登录
aps
/
WMS
仓库管理系统
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
添加字段,嘉联仓储添加 SilkMarket(庄口)、SilkMarketClose(庄口是否关闭)字段
yinbentan
2024-07-16
1e1eff926a1a331f29b225a41343fd9ecb01fe66
[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)
}