Browse Source

fix: 预警级别

hsun 3 năm trước cách đây
mục cha
commit
e7f776749d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      services/share_poster.go

+ 1 - 1
services/share_poster.go

@@ -41,7 +41,7 @@ func CreatePosterFromSource(codePage, codeScene, source, version, pars string) (
 			reqSlice = append(reqSlice, fmt.Sprint("Source:", source, "\n"))
 			reqSlice = append(reqSlice, fmt.Sprint("Version:", version, "\n"))
 			reqSlice = append(reqSlice, fmt.Sprint("Pars:", pars, "\n"))
-			go alarm_msg.SendAlarmMsg("CreatePosterFromSource生成分享海报失败, Msg:"+errMsg+";Err:"+err.Error()+";Req:\n"+strings.Join(reqSlice, ";"), 2)
+			go alarm_msg.SendAlarmMsg("CreatePosterFromSource生成分享海报失败, Msg:"+errMsg+";Err:"+err.Error()+"\n;Req:\n"+strings.Join(reqSlice, ";"), 3)
 		}
 	}()
 	if codePage == "" || source == "" || pars == "" {