From b68da2e68ab88876695b5658c003861f07595612 Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Wed, 23 Aug 2023 16:53:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=A3=81=E5=89=AA=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/home-user-auth/internal/logic/userinfosetlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/home-user-auth/internal/logic/userinfosetlogic.go b/server/home-user-auth/internal/logic/userinfosetlogic.go index c27836b8..7febcd92 100644 --- a/server/home-user-auth/internal/logic/userinfosetlogic.go +++ b/server/home-user-auth/internal/logic/userinfosetlogic.go @@ -74,7 +74,7 @@ func (l *UserInfoSetLogic) UserInfoSet(req *types.UserInfoSetReq, userinfo *auth logx.Error(err) return resp.SetStatus(basic.CodeDbSqlErr, "UserInfoSet error system failed") } - var nowTime = time.Now().Unix() + var nowTime = time.Now().UTC() if userInfo.Id != 0 { userInfo.Metadata = &req.Metadata userInfo.Utime = &nowTime