info get profile

This commit is contained in:
eson
2023-09-28 13:25:06 +08:00
parent 31b712784f
commit d92c77766c
11 changed files with 81 additions and 278 deletions

View File

@@ -38,9 +38,15 @@ func FsBool(v bool) *bool {
// SubscriptionStatus 订阅状态
type SubscriptionStatus struct {
SubEmail bool `json:"all_emails"`
ItemMap *struct {
} `json:"item_map"`
NotificationEmail *struct {
OrderUpdate bool `json:"order_update"`
Newseleter bool `json:"newseleter"`
} `json:"notification_email"`
NotificationPhone *struct {
OrderUpdate bool `json:"order_update"`
Newseleter bool `json:"newseleter"`
} `json:"notification_phone"`
}
type UserProfile struct {
@@ -50,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"` // 后名
// UserName string `json:"user_name"` // 用户名
Mobile string `json:"mobile"` // 电话
Resetaurant string `json:"resetaurant"` // 不知道干什么
Company string `json:"company"` // 公司