by Robin at 20231226; username
This commit is contained in:
parent
837f12c614
commit
915371e6ad
|
@ -39,7 +39,7 @@ func (s *Service) utilRegisterUser(ctx *gin.Context, req *loginproto.MobilePhone
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
account.UserId = goproto.Int64(userIdSeq.UserId)
|
account.UserId = goproto.Int64(userIdSeq.UserId)
|
||||||
account.Name = goproto.String(fmt.Sprintf("user_%v", userIdSeq.UserId))
|
account.Name = goproto.String(fmt.Sprintf("用户%v", userIdSeq.UserId))
|
||||||
account.MobilePhone = goproto.String(req.MobilePhone)
|
account.MobilePhone = goproto.String(req.MobilePhone)
|
||||||
account.RegionCode = goproto.String(req.RegionCode)
|
account.RegionCode = goproto.String(req.RegionCode)
|
||||||
account.PhoneHash = goproto.String(req.PhoneHash)
|
account.PhoneHash = goproto.String(req.PhoneHash)
|
||||||
|
|
Loading…
Reference in New Issue