From a437506eaf536e1d3e202895a51e7ec7ef07c729 Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 31 Oct 2018 22:37:37 +0800 Subject: [PATCH] - temporarily use php server to convert excel. --- business/jxstore/financial/financial.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index 8c9cc364a..08b8c4eff 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -67,8 +67,9 @@ func SendFilesToStores(ctx *jxcontext.Context, files []*multipart.FileHeader, is if err == nil { db := dao.GetDB() billRec := &legacymodel.StoreBill{ - Date: time.Now(), - Url: jxutils.ComposeQiniuResURL(ret.Key), + Date: time.Now(), + // Url: jxutils.ComposeQiniuResURL(ret.Key), + Url: "http://www2.jxc4.com/public/index.php/jd/excel/index?path=" + jxutils.ComposeQiniuResURL(ret.Key), StoreId: storeID, BillName: fileHeader.Filename, }