Explorar el Código

feat(types): error

qinlaiqiao hace 5 años
padre
commit
81dc02566e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      types/src/interface/error.ts

+ 2 - 0
types/src/interface/error.ts

@@ -55,6 +55,8 @@ export enum ErrNo {
   NO_ENTERPRISE_ACCOUNT = 1029,
   // 用户不属于该企业
   USER_NOT_BELONG_ENTERPRISE = 1030,
+  // 用户已加入该企业
+  USER_ALREADY_IN_ENTERPRISE = 1031,
 
   /* 费用定额相关 2001 - 2999 */
   COMPILATION_NOT_FOUND = 2001,