🔥 2.0.0 版本发布准备~

This commit is contained in:
YunaiV 2024-01-26 20:37:38 +08:00
parent 5e8988b73b
commit 0dff03b8b1
4 changed files with 1211 additions and 495 deletions

View File

@ -41,7 +41,7 @@
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<!-- 看看咋放到 bom 里 --> <!-- 看看咋放到 bom 里 -->
<lombok.version>1.18.30</lombok.version> <lombok.version>1.18.30</lombok.version>
<spring.boot.version>3.2.1</spring.boot.version> <spring.boot.version>3.2.2</spring.boot.version>
<mapstruct.version>1.5.5.Final</mapstruct.version> <mapstruct.version>1.5.5.Final</mapstruct.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
<revision>2.0.0-snapshot</revision> <revision>2.0.0-snapshot</revision>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<!-- 统一依赖管理 --> <!-- 统一依赖管理 -->
<spring.boot.version>3.2.1</spring.boot.version> <spring.boot.version>3.2.2</spring.boot.version>
<!-- Web 相关 --> <!-- Web 相关 -->
<springdoc.version>2.2.0</springdoc.version> <springdoc.version>2.2.0</springdoc.version>
<knife4j.version>4.3.0</knife4j.version> <knife4j.version>4.3.0</knife4j.version>

View File

@ -59,7 +59,7 @@ public class MailTemplateServiceImpl implements MailTemplateService {
} }
@Override @Override
@CacheEvict(cacheNames = RedisKeyConstants.NOTIFY_TEMPLATE, @CacheEvict(cacheNames = RedisKeyConstants.MAIL_TEMPLATE,
allEntries = true) // allEntries 清空所有缓存因为可能修改到 code 字段不好清理 allEntries = true) // allEntries 清空所有缓存因为可能修改到 code 字段不好清理
public void updateMailTemplate(@Valid MailTemplateSaveReqVO updateReqVO) { public void updateMailTemplate(@Valid MailTemplateSaveReqVO updateReqVO) {
// 校验是否存在 // 校验是否存在
@ -87,7 +87,7 @@ public class MailTemplateServiceImpl implements MailTemplateService {
} }
@Override @Override
@CacheEvict(cacheNames = RedisKeyConstants.NOTIFY_TEMPLATE, @CacheEvict(cacheNames = RedisKeyConstants.MAIL_TEMPLATE,
allEntries = true) // allEntries 清空所有缓存因为 id 不是直接的缓存 code不好清理 allEntries = true) // allEntries 清空所有缓存因为 id 不是直接的缓存 code不好清理
public void deleteMailTemplate(Long id) { public void deleteMailTemplate(Long id) {
// 校验是否存在 // 校验是否存在