Explorar o código

refactor(types): error

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

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

@@ -17,8 +17,8 @@ export enum ErrNo {
   PASSWORD_ERROR = 1009,
   SSO_ERROR = 1010,
   SEND_MESSAGE_ERROR = 1011,
-  // 登录参数错误
-  LOGIN_PARAM_ERROR = 1012,
+  // API 请求的参数错误
+  API_PARAM_ERROR = 1012,
   // 未登录
   NOT_LOGIN = 1013,
   // 姓名不符合规范