by Robin at 20231227;fix #9
|
@ -39,7 +39,7 @@ func (s *Service) utilRegisterUser(ctx *gin.Context, req *loginproto.MobilePhone
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
account.UserId = goproto.Int64(userIdSeq.UserId)
|
account.UserId = goproto.Int64(userIdSeq.UserId)
|
||||||
account.Name = goproto.String(fmt.Sprintf("user_%v", userIdSeq.UserId))
|
account.Name = goproto.String(fmt.Sprintf("用户%v", userIdSeq.UserId))
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue