|
@@ -36,12 +36,12 @@ func CreatePosterFromSource(codePage, codeScene, source, version, pars string) (
|
|
|
if err != nil {
|
|
|
global.LOG.Critical(fmt.Sprintf("CreatePosterFromSource: source=%s, pars:%s, errMsg:%s", source, pars, errMsg))
|
|
|
reqSlice := make([]string, 0)
|
|
|
- reqSlice = append(reqSlice, fmt.Sprint("CodePage:", codePage))
|
|
|
- reqSlice = append(reqSlice, fmt.Sprint("CodeScene:", codeScene))
|
|
|
- reqSlice = append(reqSlice, fmt.Sprint("Source:", source))
|
|
|
- reqSlice = append(reqSlice, fmt.Sprint("Version:", version))
|
|
|
- reqSlice = append(reqSlice, fmt.Sprint("Pars:", pars))
|
|
|
- go alarm_msg.SendAlarmMsg("CreatePosterFromSource生成分享海报失败, Msg:"+errMsg+";Err:"+err.Error()+";Req:"+strings.Join(reqSlice, ";"), 2)
|
|
|
+ reqSlice = append(reqSlice, fmt.Sprint("CodePage:", codePage, "\n"))
|
|
|
+ reqSlice = append(reqSlice, fmt.Sprint("CodeScene:", codeScene, "\n"))
|
|
|
+ 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)
|
|
|
}
|
|
|
}()
|
|
|
if codePage == "" || source == "" || pars == "" {
|