Parcourir la source

云照护登录修改

LAPTOP-KB9HII50\70708 il y a 1 an
Parent
commit
d3f72847d2

+ 1 - 1
server/svr-authentication/src/main/java/com/yihu/jw/security/oauth2/provider/endpoint/WlyyLoginEndpoint.java

@ -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);
    }