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