- 修改订单导出文件格式,去掉冒号
This commit is contained in:
@@ -593,7 +593,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS
|
|||||||
if toDateStr != "" {
|
if toDateStr != "" {
|
||||||
keyPart = append(keyPart, 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, "_")
|
key := strings.Join(keyPart, "_")
|
||||||
formUploader := storage.NewFormUploader(cfg)
|
formUploader := storage.NewFormUploader(cfg)
|
||||||
ret := storage.PutRet{}
|
ret := storage.PutRet{}
|
||||||
|
|||||||
Reference in New Issue
Block a user