提交 9918b2cc authored 作者: hzh's avatar hzh

代码优化

上级 f9bc9c33
...@@ -82,7 +82,7 @@ public abstract class AbstractMallStrategy implements IAuthStrategy { ...@@ -82,7 +82,7 @@ public abstract class AbstractMallStrategy implements IAuthStrategy {
if (StringUtils.isBlank(validatePhone)) { if (StringUtils.isBlank(validatePhone)) {
return; return;
} }
if (StringUtils.equals(validatePhone, loginPhone)) { if (!StringUtils.equals(validatePhone, loginPhone)) {
throw new ServiceException(String.format("微信授权手机号%s与您输入的员工手机号%s不匹配,请核对后登录", loginPhone, validatePhone)); throw new ServiceException(String.format("微信授权手机号%s与您输入的员工手机号%s不匹配,请核对后登录", loginPhone, validatePhone));
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论