Skip to content

Commit

Permalink
删除用户缓存逻辑修改
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozheng committed Dec 4, 2023
1 parent 684eb7d commit 2457f1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ public int update(Long id, UmsAdmin admin) {

@Override
public int delete(Long id) {
getCacheService().delAdmin(id);
int count = adminMapper.deleteByPrimaryKey(id);
getCacheService().delAdmin(id);
getCacheService().delResourceList(id);
return count;
}
Expand Down

0 comments on commit 2457f1d

Please sign in to comment.