Explorar el Código

feat(types): user add LoginType

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

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

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