소스 검색

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,
 }
 
+// 登录类型
+export enum LoginType {
+  PERSON = 'person',
+  ENTERPRISE = 'enterprise',
+}
+
 export enum UserType {
   NORMAL = 'normal',
   PROFESSIONAL = 'professional',