Commit 58b47a33 authored by xuepeng.chang's avatar xuepeng.chang

用户限制小程序登陆

parent 43aa4552
...@@ -88,9 +88,8 @@ public class InterLoginStrategy implements LoginStrategy { ...@@ -88,9 +88,8 @@ public class InterLoginStrategy implements LoginStrategy {
} }
// 临时的限制泄露账户的用户不让用户的小程序登陆,在上线微信解绑功能后删除 // 临时的限制泄露账户的用户不让用户的小程序登陆,在上线微信解绑功能后删除
if (StringUtils.isNotEmpty(interLoginParam.getAppId()) && StringUtils.isNotEmpty(interLoginParam.getOpenId())){ if (StringUtils.isNotEmpty(interLoginParam.getAppId()) && StringUtils.isNotEmpty(interLoginParam.getOpenId())){
Long id = user.getId(); if(user.getId().equals(53007786L) || user.getId().equals(9440153L)){
if(user.getId().equals(53007786L)){ log.info("用户,限制小程序登陆,userId:{}", user.getId());
log.info("用户,限制小程序登陆,userId:{}", id);
throw new SilentBizException(BizExceptionEnum.ERROR_WECHAT_LOGIN); throw new SilentBizException(BizExceptionEnum.ERROR_WECHAT_LOGIN);
} }
} }
......
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