Merge pull request 'by Robin at 20240123; fix' (#66) from feat-20240121-001-Robin into test

Reviewed-on: #66
This commit is contained in:
chenhao 2024-01-23 17:39:15 +08:00
commit 0f3407746e
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ func (s *Service) utilRegisterUser(ctx *gin.Context, req *loginproto.MobilePhone
account.MobilePhone = goproto.String(req.MobilePhone)
account.RegionCode = goproto.String(req.RegionCode)
account.PhoneHash = goproto.String(req.PhoneHash)
account.IsAMember = goproto.Int64(0)
if inviterUserId != 0 {
account.Inviter = goproto.Int64(inviterUserId)
}