默认加载 mybatis-default.xml,可通过 mybatis.configLocation 参数指定 mybatis-config.xml 文件

This commit is contained in:
thinkgem
2025-10-16 10:50:20 +08:00
parent e4d4b7057d
commit 5d98e0ff8c
4 changed files with 4 additions and 67 deletions

View File

@@ -35,7 +35,7 @@ server:
schemeHttps: false
#======================================#
#========== Database sttings ==========#
#========= Database settings ==========#
#======================================#
# 数据库连接
@@ -99,9 +99,6 @@ logging:
# MyBatis 相关
mybatis:
# MyBatis 配置文件
configLocation: /mybatis/mybatis-default.xml
# Mapper文件刷新线程
mapper:
refresh: