Merge pull request 'by Robin at 20240123; fix' (#66) from feat-20240121-001-Robin into test
Reviewed-on: #66
This commit is contained in:
commit
0f3407746e
|
@ -65,6 +65,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