Преглед изворни кода

refactor(types): user更改

qinlaiqiao пре 4 година
родитељ
комит
0b0446880e
1 измењених фајлова са 0 додато и 24 уклоњено
  1. 0 24
      types/src/interface/user.ts

+ 0 - 24
types/src/interface/user.ts

@@ -47,17 +47,10 @@ export interface ISpecifyCptItem {
 
 // user 表原始字段
 export interface IRawUser {
-  enterpriseID?: string;
   _id?: string;
   qq?: string;
   real_name?: string;
   avatar?: string;
-  // 职位
-  position?: string;
-  company?: string;
-  province?: number;
-  company_type?: number;
-  company_scale?: number;
   // 指定的编办
   specifyCpt?: string;
   latest_login?: number;
@@ -81,15 +74,6 @@ export interface IUser {
   qq?: string;
   realName?: string;
   avatar?: string;
-  // 职位
-  position?: string;
-  // 公司名
-  companyName?: string;
-  // 省(个人账户只需要精确到省)
-  companyLocation?: number;
-  // 公司类型
-  companyType?: number;
-  companyScale?: number;
   // 指定的编办
   specifyCpt?: string;
   latestLogin?: number;
@@ -101,7 +85,6 @@ export interface IUser {
   email?: string;
   mobile?: string;
   createTime?: string;
-  isUserActive?: number;
   upgradeList?: IUpgradeItemInfo[];
   usedList?: IUsed[];
   latestUsed?: string;
@@ -112,13 +95,6 @@ export interface IRecentUser extends IUser {
   recentDate: number;
 }
 
-export interface IBootResult {
-  compilation: ICompilation;
-  complete: boolean;
-}
-
 export interface ILoginResult {
   userID: string;
-  userInfo: IUser;
-  cptList: ICompilation;
 }