Explorar o código

feat(types): error code

qinlaiqiao %!s(int64=5) %!d(string=hai) anos
pai
achega
8211319190
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

@@ -39,6 +39,8 @@ export enum ErrNo {
   DATA_TYPE_ERROR = 1021,
   // 用户没有企业版
   HAS_NO_ENTERPRISE = 1022,
+  // token 校验失败
+  TOKEN_ERROR = 1023,
 
   /* 费用定额相关 2001 - 2999 */
   COMPILATION_NOT_FOUND = 2001,