mylomen-server/common/dto/third_user_login.go
shaoyongjun 1de6800707 to:sync
2024-05-15 15:02:12 +08:00

39 lines
759 B
Go

package dto
type ThirdRegisterReq struct {
Account string `json:"account"` // 帐号
Password string `json:"password"` // 密码
Name string `json:"name"` // 昵称
Icon string `json:"icon"` // 头像
}
type SendResetPwdCodeReq struct {
Account string `json:"account"` // 帐号
}
type ThirdResetPwdReq struct {
Account string `json:"account"` // 帐号
Password string `json:"password"` // 密码
Code string `json:"code"` // 验证码
}
type ThirdLoginReq struct {
Account string `json:"account"` // 帐号
Password string `json:"password"` // 密码
}
type ThirdUserLoginToken struct {
Uid uint64 `json:"uid"`
AccessToken string `json:"accessToken"`
}
type FindUidByToken struct {
AccessToken string `json:"accessToken"`
}