From 9a725ed9c2a669e7a81b6aab8eb3bacacfe2605f Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 28 Apr 2021 11:09:38 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index b120e706e..22a422560 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -2011,10 +2011,10 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType, resource if link, err = handler.ShareUnionLink(ctx, linkType, job.UnionActID, sid, userID, resourceType); err == nil { if vendorID == model.VendorIDMTWM || vendorID == model.VendorIDTB { if linkType == partner.LinkTypeWeiXinMini { - if resBinary, _, err := jxutils.DownloadFileByURL(link + "?imageView2/1/w/100/h/100/q/75"); err == nil { + if resBinary, _, err := jxutils.DownloadFileByURL(link); err == nil { if downloadURL, err := jxutils.UploadExportContent(resBinary, utils.Int64ToStr(time.Now().Unix())+link[strings.LastIndex(link, "/")+1:len(link)]); err == nil { if err == nil { - link = jxutils.MixWatermarkImg(downloadURL, job.UnionImg, job.UnionQrcodePosition) + link = jxutils.MixWatermarkImg(downloadURL+"?imageView2/1/w/100/h/100/q/75", job.UnionImg, job.UnionQrcodePosition) } } }