mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
邀请码功能
1、新增邀请码功能 needInvitationCode: false 改成 true 后生效 2、完善后台用户注册 修改相关
This commit is contained in:
@@ -56,8 +56,9 @@ type ResignUserResponse struct {
|
||||
type AlterUserRequest struct {
|
||||
UserId string `json:"user_id" binding:"required"`
|
||||
Nickname string `json:"nickname"`
|
||||
PhoneNumber int `json:"phone_number" validate:"len=11"`
|
||||
PhoneNumber string `json:"phone_number" validate:"len=11"`
|
||||
Email string `json:"email"`
|
||||
Birth string `json:"birth"`
|
||||
}
|
||||
|
||||
type AlterUserResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user