- 门店账单统一使用https

This commit is contained in:
gazebo
2019-04-24 20:12:21 +08:00
parent a09437bf3d
commit 66dc062678

View File

@@ -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,