mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
修复 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.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
Block a user