feat: requestId time string use UTC

This commit is contained in:
feitianbubu
2026-01-22 08:58:23 +08:00
parent 979c81985e
commit 21c0a51dc3

View File

@@ -263,7 +263,7 @@ func GetTimestamp() int64 {
}
func GetTimeString() string {
now := time.Now()
now := time.Now().UTC()
return fmt.Sprintf("%s%d", now.Format("20060102150405"), now.UnixNano()%1e9)
}