Explorar el Código

refactor(types): user

qinlaiqiao hace 4 años
padre
commit
991e94a132
Se han modificado 1 ficheros con 4 adiciones y 6 borrados
  1. 4 6
      types/src/interface/user.ts

+ 4 - 6
types/src/interface/user.ts

@@ -45,13 +45,11 @@ export interface ISpecifyCptItem {
   cptID: string;
   cptID: string;
 }
 }
 
 
-interface IProCptItem {
+export interface IProCptItem {
   // 编办 ID
   // 编办 ID
   compilationID: string;
   compilationID: string;
   // 开通时间
   // 开通时间
   upgradeTime: number;
   upgradeTime: number;
-  // 是否激活
-  activated: boolean;
   // 备注
   // 备注
   remark: string;
   remark: string;
   // 截至时间,0 代表无限制
   // 截至时间,0 代表无限制
@@ -60,7 +58,7 @@ interface IProCptItem {
   lock: number;
   lock: number;
 }
 }
 
 
-interface IUsedCptItem {
+export interface IUsedCptItem {
   // 编办 ID
   // 编办 ID
   compilationID: string;
   compilationID: string;
   // 第一次使用的时间
   // 第一次使用的时间
@@ -74,14 +72,14 @@ export interface IContactItem {
   firstContactTime: number;
   firstContactTime: number;
 }
 }
 
 
-interface IEverydayOnlineTimeItem {
+export interface IEverydayOnlineTimeItem {
   // 日期
   // 日期
   date: number;
   date: number;
   // 在线时长
   // 在线时长
   onlineTime: number;
   onlineTime: number;
 }
 }
 
 
-interface ISummary {
+export interface ISummary {
   // 最后登录时间
   // 最后登录时间
   lastLoginTime: number;
   lastLoginTime: number;
   // 上次使用的编办
   // 上次使用的编办