diff --git a/server/auth/internal/types/types.go b/server/auth/internal/types/types.go index d190a992..bdafc513 100644 --- a/server/auth/internal/types/types.go +++ b/server/auth/internal/types/types.go @@ -23,7 +23,7 @@ type RequestEmailConfirmation struct { type RequestEmailRegister struct { Email string `json:"email"` - Wid uint64 `json:"wid"` + Wid string `json:"wid"` GuestId uint64 `json:"guest_id"` RegisterToken string `json:"register_token"` } diff --git a/server_api/auth.api b/server_api/auth.api index 663eef26..410c686a 100644 --- a/server_api/auth.api +++ b/server_api/auth.api @@ -45,7 +45,7 @@ type RequestEmailConfirmation { type RequestEmailRegister { Email string `json:"email"` - WCId uint64 `json:"wcid"` + Wid string `json:"wid"` GuestId uint64 `json:"guest_id"` RegisterToken string `json:"register_token"` } diff --git a/utils/auth/register.go b/utils/auth/register.go index 0b3da213..5cff3ac6 100644 --- a/utils/auth/register.go +++ b/utils/auth/register.go @@ -16,7 +16,7 @@ type RegisterToken struct { OperateType // 操作的类型, 验证的token 必须要继承这个 Id int64 // 注册的 id GuestId uint64 // guest_id 需要继承 - WId uint64 // websocket 通道id + WId string // websocket 通道id Email string // email Password string // 密码 Platform string // 平台