Explorar o código

feat(types): error code

qinlaiqiao %!s(int64=4) %!d(string=hai) anos
pai
achega
baeba3e06a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      types/src/interface/error.ts

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

@@ -41,6 +41,8 @@ export enum ErrNo {
   HAS_NO_ENTERPRISE = 1022,
   // token 校验失败
   TOKEN_ERROR = 1023,
+  // 用户 ID 不存在
+  USER_ID_NOT_EXIST = 1024,
 
   /* 费用定额相关 2001 - 2999 */
   COMPILATION_NOT_FOUND = 2001,