perf:更新用户职位的时候,清除缓存

This commit is contained in:
曾文豪
2024-08-27 13:38:57 +08:00
parent 80ec6d2e3d
commit 0310bd4a15
5 changed files with 15 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ public class CorePlatformUniqueService extends TsServiceBase<CorePlatformUniqueM
if (tokenBean != null) {
// 清除授权信息
TsCacheService.of().remove(StrUtil.format(TsAuthorityHandler.CACHE_HAS_AUTHORITY,
TsCacheService.of().remove(StrUtil.format(TsAuthorityHandler.CACHE_AUTHORITY,
tokenBean.getRoleId(), tokenBean.getId()));
// 添加登录日志