|
@ -1438,7 +1438,7 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
|
|
|
}else if (e instanceof ImgCaptchaException) {
|
|
|
return handleOAuth2Exception(new Oauth2Envelop("图片验证码错误", ResultStatus.IMG_CAPTCHA), e);
|
|
|
}else if (e instanceof PwdException){
|
|
|
return handleOAuth2Exception(new Oauth2Envelop("密码强度低,请用验证码登录,或者修改密码后在从新登录!", 1301), e);
|
|
|
return handleOAuth2Exception(new Oauth2Envelop(e.getMessage(), 1301), e);
|
|
|
}
|
|
|
return handleOAuth2Exception(new Oauth2Envelop("请求失败", -1), e);
|
|
|
}
|