From a7efe3670546fd403eb3fd1a6b26b8b3aeb32d7e Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 9 May 2019 18:53:51 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E8=B4=A6=E5=8D=95=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E4=B8=BAhttps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/financial/financial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index 8a20b7aab..60cfce180 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -73,7 +73,7 @@ func SendFilesToStores(ctx *jxcontext.Context, files []*multipart.FileHeader, ti db := dao.GetDB() billRec := &legacymodel.StoreBill{ Date: time.Now(), - Url: jxutils.ComposeQiniuResURL(strings.Replace(ret.Key, "http://", "https://", -1)), + Url: strings.Replace(jxutils.ComposeQiniuResURL(ret.Key), "http://", "https://", -1), StoreId: storeID, BillName: fileHeader.Filename, ShopName: shopName,