|
@@ -15,6 +15,10 @@ import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
+var (
|
|
|
+ DateTime = "2006-01-02 15:04:05"
|
|
|
+)
|
|
|
+
|
|
|
type ExportReq struct {
|
|
|
Mail string
|
|
|
Mapping []string
|
|
@@ -41,7 +45,7 @@ func (a *ExportReq) AllProjectExport() {
|
|
|
"excelPath": strings.Join(pathArr, ","),
|
|
|
"zipPath": pathstr,
|
|
|
"sendState": state,
|
|
|
- "createTime": time.Now().Format(time.DateTime),
|
|
|
+ "createTime": time.Now().Format(DateTime),
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -66,7 +70,7 @@ func (a *ExportReq) AllInfoExport() {
|
|
|
"excelPath": strings.Join(pathArr, ","),
|
|
|
"zipPath": pathstr,
|
|
|
"sendState": state,
|
|
|
- "createTime": time.Now().Format(time.DateTime),
|
|
|
+ "createTime": time.Now().Format(DateTime),
|
|
|
})
|
|
|
}
|
|
|
}
|