Parcourir la source

feat : 新增一个错误枚举值

bilingfeng il y a 2 ans
Parent
commit
a4fb7bcc81

+ 7 - 2
game-module/game-common/src/main/java/com/zanxiang/common/enums/HttpStatusEnum.java

@@ -117,6 +117,11 @@ public enum HttpStatusEnum {
      */
     OLD_PASSWORD_ERROR(41206, "旧密码错误"),
 
+    /**
+     * 旧密码不可为空
+     */
+    OLD_PASSWORD_EMPTY(41207, "旧密码不可为空"),
+
     /**
      * 手机号为空
      */
@@ -133,9 +138,9 @@ public enum HttpStatusEnum {
     PHONE_NOT_BIND(41304, "未绑定手机号"),
 
     /**
-     * 手机号已绑定
+     * 账号已绑定该手机号
      */
-    PHONE_IS_BIND(41305, "手机号已绑定"),
+    PHONE_IS_BIND(41305, "账号已绑定该手机号"),
 
     /**
      * 验证码发送过于频繁