fix:裁剪业务逻辑调整

This commit is contained in:
momo 2023-08-23 16:53:43 +08:00
parent d31e84c425
commit b68da2e68a

View File

@ -74,7 +74,7 @@ func (l *UserInfoSetLogic) UserInfoSet(req *types.UserInfoSetReq, userinfo *auth
logx.Error(err) logx.Error(err)
return resp.SetStatus(basic.CodeDbSqlErr, "UserInfoSet error system failed") return resp.SetStatus(basic.CodeDbSqlErr, "UserInfoSet error system failed")
} }
var nowTime = time.Now().Unix() var nowTime = time.Now().UTC()
if userInfo.Id != 0 { if userInfo.Id != 0 {
userInfo.Metadata = &req.Metadata userInfo.Metadata = &req.Metadata
userInfo.Utime = &nowTime userInfo.Utime = &nowTime