fix:裁剪业务逻辑调整
This commit is contained in:
parent
d31e84c425
commit
b68da2e68a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user