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,