用户修改头像、昵称、绑定手机号、获取用户详细信息

This commit is contained in:
chy
2025-06-06 15:48:05 +08:00
parent 01b898163a
commit e40f9987db
12 changed files with 280 additions and 19 deletions

View File

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