Browse Source

feat(types): user add LoginType

qinlaiqiao 5 năm trước cách đây
mục cha
commit
4ed0b1d300
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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',