info get profile
This commit is contained in:
@@ -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"` // 公司
|
||||
|
||||
Reference in New Issue
Block a user