- temporarily use php server to convert excel.
This commit is contained in:
@@ -67,8 +67,9 @@ func SendFilesToStores(ctx *jxcontext.Context, files []*multipart.FileHeader, is
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
billRec := &legacymodel.StoreBill{
|
billRec := &legacymodel.StoreBill{
|
||||||
Date: time.Now(),
|
Date: time.Now(),
|
||||||
Url: jxutils.ComposeQiniuResURL(ret.Key),
|
// Url: jxutils.ComposeQiniuResURL(ret.Key),
|
||||||
|
Url: "http://www2.jxc4.com/public/index.php/jd/excel/index?path=" + jxutils.ComposeQiniuResURL(ret.Key),
|
||||||
StoreId: storeID,
|
StoreId: storeID,
|
||||||
BillName: fileHeader.Filename,
|
BillName: fileHeader.Filename,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user