소스 검색

fix: 邮件优化

hsun 1 년 전
부모
커밋
1c14e54b0e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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)
 		}
 	}()