From f84a677050c776636583ce79d1ffbf3f464cf6f2 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 6 Sep 2023 17:10:37 +0800 Subject: [PATCH] fix --- model/gmodel/fs_user_logic.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index 89b3cc5e..ac7fdac9 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -138,6 +138,14 @@ func (u *FsUserModel) RegisterByGoogleOAuth(ctx context.Context, token *auth.Reg return user, nil } +// SubscriptionStatus 订阅状态 +type SubscriptionStatus struct { + SubEmail bool `json:"all_emails"` + ItemMap struct { + } `json:"item_map"` +} + +// UserProfile 个人信息 type UserProfile struct { FirstName string `json:"first_name"` LastName string `json:"last_name"`