Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
dd6569c3
Commit
dd6569c3
authored
Oct 17, 2025
by
macro
Browse files
后台删除用户时先删除缓存中的用户信息
parent
2616ba42
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminServiceImpl.java
View file @
dd6569c3
...
...
@@ -189,8 +189,8 @@ public class UmsAdminServiceImpl implements UmsAdminService {
@Override
public
int
delete
(
Long
id
)
{
int
count
=
adminMapper
.
deleteByPrimaryKey
(
id
);
getCacheService
().
delAdmin
(
id
);
int
count
=
adminMapper
.
deleteByPrimaryKey
(
id
);
getCacheService
().
delResourceList
(
id
);
return
count
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment