解决合并冲突,并实现种子junit单元测试
Change-Id: Ifff1a63aed76b380ea4767a1e6e1f31f3e9c0882
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 98b03fd..ed5debe 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -32,6 +32,7 @@
max: 800
# Tomcat启动初始化的线程数,默认值10
min-spare: 100
+ hostname: "192.168.146.1"
# 日志配置
logging:
@@ -49,6 +50,13 @@
# Spring配置
spring:
+ jpa:
+ show-sql: true
+ properties:
+ hibernate:
+ format_sql: true
+ flyway:
+ enabled: false # 禁用Flyway
# 资源信息
messages:
# 国际化资源文件路径
@@ -58,10 +66,13 @@
# 文件上传
servlet:
multipart:
+
+ # 单个文件大小
enabled: true
- max-file-size: 10MB
+ max-file-size: 100MB
+
# 设置总上传的文件大小
- max-request-size: 20MB
+ max-request-size: 1024MB
# 服务模块
devtools:
restart:
@@ -71,7 +82,7 @@
# redis 配置
redis:
# 地址
- host: localhost
+ host: 127.0.0.1
# 端口,默认为6379
port: 6379
# 数据库索引
@@ -104,19 +115,12 @@
# 令牌有效期(默认30分钟)
expireTime: 30
-# MyBatis配置
-mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.ruoyi.**.domain
- # 重点修改1:扩展XML扫描路径
- mapperLocations: classpath*:mapper/**/*Mapper.xml
- # 加载全局的配置文件
- configLocation: classpath:mybatis/mybatis-config.xml
# MyBatis-plus配置
mybatis-plus:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.**.domain
+
# 重点修改2:覆盖原路径,支持多模块
mapper-locations: classpath*:mapper/**/*.xml
configLocation: classpath:mybatis/mybatis-config.xml
@@ -178,3 +182,5 @@
# 设置是否调试,调试情况可跳过接口认证
debug: false
+
+