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