|
@@ -24,4 +24,15 @@ spring:
|
|
|
file-extension: yml
|
|
file-extension: yml
|
|
|
# 共享配置
|
|
# 共享配置
|
|
|
shared-configs:
|
|
shared-configs:
|
|
|
- - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
|
|
|
|
|
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+# mybatis配置
|
|
|
|
|
+mybatis:
|
|
|
|
|
+ # 搜索指定包别名
|
|
|
|
|
+ typeAliasesPackage: com.zd.alg
|
|
|
|
|
+ # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
|
|
+ mapperLocations: classpath:mapper/**/*.xml
|
|
|
|
|
+ configuration:
|
|
|
|
|
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
+ call-setters-on-nulls: true
|