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: logging:
config: classpath:config/logback-spring-elk.xml config: classpath:config/logback-spring-elk.xml
<% %>
]]> ]]>
</content> </content>
</template> </template>

View File

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

View File

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

View File

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