记得上下班打卡 | git大法好,push需谨慎

Commit 17c9763f authored by 张国柄's avatar 张国柄

fix:errmsg;

parent d8eebdee
...@@ -420,7 +420,7 @@ public class AdamLoginController { ...@@ -420,7 +420,7 @@ public class AdamLoginController {
String smsCodeByMobile = adamRdmService.getSmsCodeByMobile(mobile); String smsCodeByMobile = adamRdmService.getSmsCodeByMobile(mobile);
if (null == smsCodeByMobile) { if (null == smsCodeByMobile) {
return ResponseDto.failure(ErrorMapping.get("10003")); return ResponseDto.failure(ErrorMapping.get("10004"));
} }
return smsCodeByMobile.equals(code) ? ResponseDto.success() : ResponseDto.failure(ErrorMapping.get("10004")); return smsCodeByMobile.equals(code) ? ResponseDto.success() : ResponseDto.failure(ErrorMapping.get("10004"));
} }
......
...@@ -325,7 +325,7 @@ public class AdamUserController { ...@@ -325,7 +325,7 @@ public class AdamUserController {
// } // }
String smsCodeByMobile = adamRdmService.getSmsCodeByMobile(mobile); String smsCodeByMobile = adamRdmService.getSmsCodeByMobile(mobile);
if (null == smsCodeByMobile) { if (null == smsCodeByMobile) {
return ResponseDto.failure(ErrorMapping.get("10003")); return ResponseDto.failure(ErrorMapping.get("10004"));
} }
return smsCodeByMobile.equals(code) ? ResponseDto.success() : ResponseDto.failure(ErrorMapping.get("10004")); return smsCodeByMobile.equals(code) ? ResponseDto.success() : ResponseDto.failure(ErrorMapping.get("10004"));
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
10001= 10001=
10002=验证码发送失败 10002=验证码发送失败
10003=已超时,请重新获取验证码 10003=已超时,请重新获取验证码
10004=手机验证码错误 10004=验证码错误,请重新输入
10005=手机号获取失败,请更换登录方式 10005=手机号获取失败,请更换登录方式
10006=第三方账号未注册 10006=第三方账号未注册
10007=该第三方账号已经被其他用户绑定 10007=该第三方账号已经被其他用户绑定
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment