info get profile
This commit is contained in:
@@ -178,6 +178,7 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
|
||||
FirstName: FirstName,
|
||||
LastName: LastName,
|
||||
Resetaurant: Resetaurant,
|
||||
Email: *user.Email,
|
||||
}
|
||||
|
||||
userProfile := &UserProfile{
|
||||
|
||||
@@ -56,9 +56,9 @@ type UserProfile struct {
|
||||
|
||||
// UserProfileBase 个人信息
|
||||
type UserProfileBase struct {
|
||||
FirstName string `json:"first_name"` // 首名
|
||||
LastName string `json:"last_name"` // 后名
|
||||
// UserName string `json:"user_name"` // 用户名
|
||||
FirstName string `json:"first_name"` // 首名
|
||||
LastName string `json:"last_name"` // 后名
|
||||
Email string `json:"email"` // email
|
||||
Mobile string `json:"mobile"` // 电话
|
||||
Resetaurant string `json:"resetaurant"` // 不知道干什么
|
||||
Company string `json:"company"` // 公司
|
||||
|
||||
Reference in New Issue
Block a user