diff --git a/business/jxstore/cms/sku.go b/business/jxstore/cms/sku.go index 872d99f82..5ab694ec5 100644 --- a/business/jxstore/cms/sku.go +++ b/business/jxstore/cms/sku.go @@ -3104,12 +3104,9 @@ func UpdateVendorImg(ctx *jxcontext.Context, storeId int, imgWaterMark string, v if exPrefix != "" { param["name"] = fmt.Sprintf("%s %s", exPrefix, v.Name) } - globals.SugarLogger.Debugf("---param := %s", utils.Format4Output(param, false)) api.RetailInitData(utils.GetUUID(), storeDetail.VendorStoreID, v.AppFoodCode, param) - globals.SugarLogger.Debugf("------qiNiuImg := %s", qiNiuImg) - globals.SugarLogger.Debugf("------ImgMix := %s", ImgMix) - jxutils.DeleteExportContent(strings.Split(qiNiuImg, "/")[2]) - jxutils.DeleteExportContent(strings.Split(ImgMix, "/")[2]) + jxutils.DeleteExportContent(strings.Split(qiNiuImg, "/")[3]) + jxutils.DeleteExportContent(strings.Split(ImgMix, "/")[3]) return nil, err }