用户修改头像、昵称、绑定手机号、获取用户详细信息
This commit is contained in:
@ -73,10 +73,26 @@ type UserInfoIn struct {
|
||||
OpenId string
|
||||
}
|
||||
type UserInfoOut struct {
|
||||
Id int64
|
||||
Id int64
|
||||
WxOpenId string
|
||||
Username string
|
||||
Nickname string
|
||||
Avatar string
|
||||
Email string
|
||||
PhoneNumber string
|
||||
WxPopenId string
|
||||
QQPopenId string
|
||||
RoleId int64
|
||||
}
|
||||
|
||||
type UserBindPhoneIn struct {
|
||||
Id int64
|
||||
Phone string
|
||||
PhoneCode string
|
||||
}
|
||||
|
||||
type UserBindPhoneOut struct {
|
||||
Success bool
|
||||
}
|
||||
|
||||
type UserListIn struct {
|
||||
@ -98,3 +114,22 @@ type UserCodeIn struct {
|
||||
|
||||
type UserCodeOut struct {
|
||||
}
|
||||
|
||||
type UserUpdateImgIn struct {
|
||||
Id int64
|
||||
Nickname string
|
||||
Avatar string
|
||||
}
|
||||
|
||||
type UserUpdateImgOut struct {
|
||||
Success bool
|
||||
}
|
||||
|
||||
type GetPhoneCodeIn struct {
|
||||
Id int64
|
||||
Phone string
|
||||
}
|
||||
|
||||
type GetPhoneCodeOut struct {
|
||||
Success bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user