fix: 修复MailAccountService 更新/删除缓存未清空

plp
YunaiV 3 years ago
parent c4755c49b1
commit 1f3794db77

@ -58,7 +58,7 @@ public class MailAccountServiceImpl implements MailAccountService {
}
@Override
@CacheEvict(value = RedisKeyConstants.MAIL_ACCOUNT, key = "#updateReqVO.id")
@CacheEvict(value = RedisKeyConstants.MAIL_ACCOUNT, key = "#id")
public void deleteMailAccount(Long id) {
// 校验是否存在账号
validateMailAccountExists(id);

Loading…
Cancel
Save