mylomen-server/common/dto/third_user_login.go

35 lines
686 B
Go
Raw Normal View History

2023-06-04 22:54:54 +08:00
package dto
2024-04-29 19:35:18 +08:00
type ThirdRegisterReq struct {
Account string `json:"account"` // 帐号
Password string `json:"password"` // 密码
Name string `json:"name"` // 昵称
2023-06-04 22:54:54 +08:00
2024-04-29 19:35:18 +08:00
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 {
2023-06-04 22:54:54 +08:00
Account string `json:"account"` // 帐号
Password string `json:"password"` // 密码
}
type ThirdUserLoginToken struct {
Uid uint64 `json:"uid"`
AccessToken string `json:"accessToken"`
}