diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 0c8aa4aeb..c3e44b3fb 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -654,7 +654,8 @@ func buildSetFinishHook(task tasksch.ITask, ctx *jxcontext.Context) { noticeMsg += fmt.Sprintf("[详情点我]%s/billshow/?normal=true&path=%s \n", globals.BackstageHost, downloadURL) } else if len(task.GetFailedList()) > 0 && len(task.GetFailedList()) <= 10 { if task.GetErr() != nil { - noticeMsg = utils.Format4Output(buildErrMsgJson(task), true) + noticeMsg = "您此次的同步任务错误详情返回如下: " + noticeMsg += utils.Format4Output(buildErrMsgJson(task), true) } } if authInfo, err := ctx.GetV2AuthInfo(); err == nil { diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 334d46920..5bab8cf3e 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -700,11 +700,13 @@ func buildFailedListAndErr(failedList []*partner.StoreSkuInfoWithErr, err error, } return failedList, err } else if err == nil && len(failedList) > 0 { - var errMsg = "" + var errMsgList []string for _, v := range failedList { - errMsg += v.ErrMsg + errMsgList = append(errMsgList, utils.Int2Str(v.StoreSkuInfo.SkuID)) + errMsgList = append(errMsgList, utils.Int2Str(storeID)) + errMsgList = append(errMsgList, v.ErrMsg) } - err2 := errors.New(errMsg) + err2 := errors.New(strings.Join(errMsgList, ",")) return failedList, err2 } return failedList, err diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index a35780744..9236e3463 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -89,7 +89,7 @@ var ( "00:01:00", } sendSecKillWarnList = []string{ - "8:30:00", + "9:00:00", } autoSaleStoreSkuTimeList = []string{