update 优化 使用登录用户判断是否登录 提高效率
This commit is contained in:
parent
96ab48396c
commit
87981fb80c
@ -23,7 +23,7 @@ public class SysSensitiveServiceImpl implements SensitiveService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isSensitive(String roleKey, String perms) {
|
public boolean isSensitive(String roleKey, String perms) {
|
||||||
if (!StpUtil.isLogin()) {
|
if (!LoginHelper.isLogin()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
boolean roleExist = StringUtils.isNotBlank(roleKey);
|
boolean roleExist = StringUtils.isNotBlank(roleKey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user