Commit 8e9e402a by 杨林龙

开发1.22.0 版本需求 禁止特殊登陆状态的用户登录小程序

1 parent 8ae24003
...@@ -64,6 +64,7 @@ public class LoginService { ...@@ -64,6 +64,7 @@ public class LoginService {
if (loginBO.getLoginType() == 1) { if (loginBO.getLoginType() == 1) {
//密码登录 //密码登录
R<SimpleUser> userR = authFeignClient.login(loginBO.getAccount(), loginBO.getCode(), SpecialMarkEnum.MINI_SPECIAL_LOGIN_FLAG.getName()); R<SimpleUser> userR = authFeignClient.login(loginBO.getAccount(), loginBO.getCode(), SpecialMarkEnum.MINI_SPECIAL_LOGIN_FLAG.getName());
log.info("userR===" + JSONUtil.toJsonStr(userR));
SimpleUser simpleUser = userR.getData(SimpleUser.class); SimpleUser simpleUser = userR.getData(SimpleUser.class);
if (!userR.isSuccess() || simpleUser == null) { if (!userR.isSuccess() || simpleUser == null) {
throw new AppServerException(userR.getMessage()); throw new AppServerException(userR.getMessage());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!