From 21c0a51dc39e9a937293a2fabd0e443ba5bf912a Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Thu, 22 Jan 2026 08:58:23 +0800 Subject: [PATCH] feat: requestId time string use UTC --- common/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils.go b/common/utils.go index f63df857..b67fe1c5 100644 --- a/common/utils.go +++ b/common/utils.go @@ -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) }