- 修改订单导出文件格式,去掉冒号

This commit is contained in:
gazebo
2019-05-23 10:16:11 +08:00
parent 60f82e3675
commit c8d57d0808

View File

@@ -593,7 +593,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS
if toDateStr != "" {
keyPart = append(keyPart, toDateStr)
}
keyPart = append(keyPart, time.Now().Format("2006-01-02T15:04:05")+".xlsx")
keyPart = append(keyPart, time.Now().Format("20060102T150405")+".xlsx")
key := strings.Join(keyPart, "_")
formUploader := storage.NewFormUploader(cfg)
ret := storage.PutRet{}