application-prod.yml 增加 mybatis.mapper.refresh.enabled: false

This commit is contained in:
thinkgem
2025-10-16 10:40:02 +08:00
parent 4c0e6f4e50
commit e4d4b7057d
5 changed files with 15 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
# 日志配置
logging:
config: classpath:config/logback-spring-elk.xml
<% %>
]]>
</content>
</template>

View File

@@ -77,6 +77,7 @@ spring:
# 日志配置
logging:
config: classpath:config/logback-spring-prod.xml
<% %>
]]>
</content>
</template>

View File

@@ -97,6 +97,7 @@ spring:
# 日志配置
logging:
config: classpath:config/logback-spring.xml
<% %>
]]>
</content>
</template>

View File

@@ -25,7 +25,7 @@ jdbc:
# 日志配置
logging:
config: classpath:config/logback-spring-prod.xml
# MyBatis 相关
mybatis:
@@ -33,7 +33,7 @@ mybatis:
mapper:
refresh:
enabled: false
# 文件相关
file:

View File

@@ -12,7 +12,7 @@ server:
context-path: /js
#======================================#
#========== Database sttings ==========#
#========= Database settings ==========#
#======================================#
# 数据库连接
@@ -42,4 +42,12 @@ jdbc:
# 日志配置
logging:
config: classpath:config/logback-spring-prod.xml
config: classpath:config/logback-spring-prod.xml
# MyBatis 相关
mybatis:
# Mapper文件刷新线程
mapper:
refresh:
enabled: false