ソースを参照

feat(types): user add LoginType

qinlaiqiao 5 年 前
コミット
4ed0b1d300
1 ファイル変更6 行追加0 行削除
  1. 6 0
      types/src/interface/user.ts

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

@@ -20,6 +20,12 @@ export enum EntityType {
   ENTERPRISE = 2,
   ENTERPRISE = 2,
 }
 }
 
 
+// 登录类型
+export enum LoginType {
+  PERSON = 'person',
+  ENTERPRISE = 'enterprise',
+}
+
 export enum UserType {
 export enum UserType {
   NORMAL = 'normal',
   NORMAL = 'normal',
   PROFESSIONAL = 'professional',
   PROFESSIONAL = 'professional',