diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index a54b40bf0..21165dc60 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(ret.Key), + Url: jxutils.ComposeQiniuResURL(strings.Replace(ret.Key, "http://", "https://", -1)), StoreId: storeID, BillName: fileHeader.Filename, ShopName: shopName,