by Robin at 20240123; fix

This commit is contained in:
Leufolium 2024-01-23 17:38:28 +08:00
parent 9c42b763d8
commit 415c71f150
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ func (s *Service) utilRegisterUser(ctx *gin.Context, req *loginproto.MobilePhone
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)
account.IsAMember = goproto.Int64(0)
if inviterUserId != 0 { if inviterUserId != 0 {
account.Inviter = goproto.Int64(inviterUserId) account.Inviter = goproto.Int64(inviterUserId)
} }