修复 admin 退出时,判断 userType 不正确
This commit is contained in:
parent
a8bf397bb0
commit
309ba2d3f1
@ -229,7 +229,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
|
||||
reqDTO.setTraceId(TracerUtils.getTraceId());
|
||||
reqDTO.setUserId(userId);
|
||||
reqDTO.setUserType(userType);
|
||||
if (ObjectUtil.notEqual(getUserType(), userType)) {
|
||||
if (ObjectUtil.equal(getUserType().getValue(), userType)) {
|
||||
reqDTO.setUsername(getUsername(userId));
|
||||
} else {
|
||||
reqDTO.setUsername(memberService.getMemberUserMobile(userId));
|
||||
|
Loading…
Reference in New Issue
Block a user