提交 471984b1 authored 作者: hzh's avatar hzh

bug修复

上级 49d82638
...@@ -6,7 +6,6 @@ import org.apache.dubbo.config.annotation.DubboReference; ...@@ -6,7 +6,6 @@ import org.apache.dubbo.config.annotation.DubboReference;
import org.dromara.auth.service.IAuthStrategy; import org.dromara.auth.service.IAuthStrategy;
import org.dromara.common.core.domain.model.LoginBody; import org.dromara.common.core.domain.model.LoginBody;
import org.dromara.common.core.enums.UserType; import org.dromara.common.core.enums.UserType;
import org.dromara.common.core.exception.user.UserException;
import org.dromara.common.core.utils.StringUtils; import org.dromara.common.core.utils.StringUtils;
import org.dromara.mall.api.domain.member.RemoteMember; import org.dromara.mall.api.domain.member.RemoteMember;
import org.dromara.mall.api.domain.member.RemoteMemberSave; import org.dromara.mall.api.domain.member.RemoteMemberSave;
...@@ -52,7 +51,7 @@ public abstract class AbstractMallStrategy implements IAuthStrategy { ...@@ -52,7 +51,7 @@ public abstract class AbstractMallStrategy implements IAuthStrategy {
try { try {
thirdUserId = remoteUserService.getUserInfo(remoteUserBo.getUserName(), remoteUserBo.getTenantId(), remoteUserBo.getUserType()).getUserId(); thirdUserId = remoteUserService.getUserInfo(remoteUserBo.getUserName(), remoteUserBo.getTenantId(), remoteUserBo.getUserType()).getUserId();
} catch (UserException e) { } catch (Exception e) {
log.info("用户不存在:{},租户id:{},需要进行注册", remoteUserBo.getUserName(), remoteUserBo.getTenantId()); log.info("用户不存在:{},租户id:{},需要进行注册", remoteUserBo.getUserName(), remoteUserBo.getTenantId());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论