diff --git a/app/mix/service/utilservice.go b/app/mix/service/utilservice.go index 34d15292..7f950c5b 100644 --- a/app/mix/service/utilservice.go +++ b/app/mix/service/utilservice.go @@ -60,6 +60,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) }