소스 검색

fix: 预警级别

hsun 3 년 전
부모
커밋
e7f776749d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 == "" {