|
@@ -35,7 +35,13 @@ func CreatePosterFromSource(codePage, codeScene, source, version, pars string) (
|
|
|
defer func() {
|
|
|
if err != nil {
|
|
|
global.LOG.Critical(fmt.Sprintf("CreatePosterFromSource: source=%s, pars:%s, errMsg:%s", source, pars, errMsg))
|
|
|
- go alarm_msg.SendAlarmMsg("CreatePosterFromSource生成分享海报失败, Msg:"+errMsg+";Err:"+err.Error(), 2)
|
|
|
+ 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)
|
|
|
}
|
|
|
}()
|
|
|
if codePage == "" || source == "" || pars == "" {
|