修改Wid为string

This commit is contained in:
eson 2023-08-11 12:07:26 +08:00
parent c40cd1e180
commit 9664271474
3 changed files with 3 additions and 3 deletions

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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 // 平台