- change excel show url.
This commit is contained in:
@@ -77,7 +77,7 @@ func SendFilesToStores(ctx *jxcontext.Context, files []*multipart.FileHeader, is
|
|||||||
BillName: fileHeader.Filename,
|
BillName: fileHeader.Filename,
|
||||||
}
|
}
|
||||||
if err = dao.CreateEntity(db, billRec); err == nil {
|
if err = dao.CreateEntity(db, billRec); err == nil {
|
||||||
err = weixinmsg.NotifySaleBill(storeID, "http://www2.jxc4.com/jx/public/index.php/jd/excel/index?path="+billRec.Url)
|
err = weixinmsg.NotifySaleBill(storeID, "http://www.jxc4.com/billshow/?path="+billRec.Url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
globals.SugarLogger.Infof("SendFilesToStores NotifySaleBill file:%s error:%v", fileHeader.Filename, err)
|
globals.SugarLogger.Infof("SendFilesToStores NotifySaleBill file:%s error:%v", fileHeader.Filename, err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user