by Robin at 20240123; fix
This commit is contained in:
parent
9c42b763d8
commit
415c71f150
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue