Selaa lähdekoodia

fix: 邮件优化

hsun 1 vuosi sitten
vanhempi
commit
1c14e54b0e
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      services/index.go

+ 2 - 1
services/index.go

@@ -9,6 +9,7 @@ import (
 	"hongze/mysteel_watch/utils"
 	"hongze/mysteel_watch/watch"
 	"os"
+	"strconv"
 	"strings"
 	"sync"
 	"time"
@@ -286,7 +287,7 @@ func IndexRefreshTimely() {
 	listLen := 0
 	defer func() {
 		if listLen > 0 {
-			go alarm_msg.SendAlarmMsg(utils.APPNAME+" 及时刷新指标", 3)
+			go alarm_msg.SendAlarmMsg(utils.APPNAME+" 及时刷新指标, listLen: "+strconv.Itoa(listLen), 3)
 		}
 	}()