diff --git a/src/types.ts b/src/types.ts index 02a23a3..9e37c67 100644 --- a/src/types.ts +++ b/src/types.ts @@ -10,6 +10,12 @@ export interface LoginResponse { permissions?: string[]; scope_region_ids?: string[]; scope_level?: string; + // 绑定状态(/auth/me 与登录响应均返回,供个人中心设置页展示) + phone?: string; + phoneBound?: boolean; + wxBound?: boolean; + wxMiniBound?: boolean; + account_type_label?: string; } // ---- 管理业务模型(server-core /admin/* 端点,部分端点尚未实现)---- @@ -152,6 +158,19 @@ export interface ParkCompany { bio?: string; founder?: string; owner_user_id?: string; + legal_person?: string; + legal_phone?: string; + registered_capital?: string; + company_type?: string; + honors?: string; + address?: string; + contact_phone?: string; + founded_at?: string; + emp_total?: number | null; + emp_grad?: number | null; + emp_layoff?: number | null; + emp_veteran?: number | null; + emp_migrant?: number | null; compute_discount?: number; // 折扣%(只增不减) compute_quota?: number; // 企业算力配额(只增不减) compute_quota_used?: number; @@ -166,6 +185,14 @@ export interface ParkMember { phone?: string; role?: string; certification_status?: string; + park_company_id?: string | null; + company?: string; + gender?: string; + birthday?: string; + id_card?: string; + ethnicity?: string; + grad_school_major?: string; + grad_time?: string; compute_quota?: number; compute_used_quota?: number; status?: string;