info get profile

This commit is contained in:
eson
2023-09-28 14:42:26 +08:00
parent 1f9123c0f4
commit 6072341a2b
5 changed files with 16 additions and 10 deletions

View File

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

View File

@@ -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"` // 公司