fix: 修复MailAccountService 更新/删除缓存未清空
This commit is contained in:
parent
c4755c49b1
commit
1f3794db77
@ -58,7 +58,7 @@ public class MailAccountServiceImpl implements MailAccountService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@CacheEvict(value = RedisKeyConstants.MAIL_ACCOUNT, key = "#updateReqVO.id")
|
@CacheEvict(value = RedisKeyConstants.MAIL_ACCOUNT, key = "#id")
|
||||||
public void deleteMailAccount(Long id) {
|
public void deleteMailAccount(Long id) {
|
||||||
// 校验是否存在账号
|
// 校验是否存在账号
|
||||||
validateMailAccountExists(id);
|
validateMailAccountExists(id);
|
||||||
|
Loading…
Reference in New Issue
Block a user