|
@@ -254,7 +254,7 @@ func AddEdbInspectionRecord(cont context.Context) (err error) {
|
|
|
|
|
|
// 4. 如果巡检失败,添加消息记录
|
|
|
if record.InspectionResult == 2 {
|
|
|
- msg := fmt.Sprintf("%s巡检结果异常: %s", config.TerminalName, edbInfo.EdbCode, record.ErrorReason)
|
|
|
+ msg := fmt.Sprintf("%s巡检结果异常: %s", config.TerminalName, record.ErrorReason)
|
|
|
adminList := strings.Split(config.NotifyUsers, ",")
|
|
|
for _, adminIdStr := range adminList {
|
|
|
adminId, _ := strconv.ParseInt(adminIdStr, 10, 64)
|