|
@@ -13,6 +13,10 @@ management:
|
|
|
include: metrics,httptrace
|
|
|
|
|
|
spring:
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ max-file-size: -1
|
|
|
+ max-request-size: -1
|
|
|
mail:
|
|
|
host: smtp.163.com
|
|
|
username: jeecgos@163.com
|
|
@@ -57,7 +61,6 @@ spring:
|
|
|
datasource:
|
|
|
druid:
|
|
|
stat-view-servlet:
|
|
|
-
|
|
|
enabled: true
|
|
|
loginUsername: admin
|
|
|
loginPassword: 123456
|
|
@@ -67,6 +70,8 @@ spring:
|
|
|
druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
|
|
|
# 连接池的配置信息
|
|
|
# 初始化大小,最小,最大
|
|
|
+ connection-init-sql: set names utf8mb4
|
|
|
+
|
|
|
initial-size: 5
|
|
|
min-idle: 5
|
|
|
maxActive: 20
|
|
@@ -89,12 +94,13 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
- username: root
|
|
|
- password: root
|
|
|
+ # url: jdbc:mysql://192.168.0.23:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
+ url: jdbc:mysql://39.106.184.70:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
|
|
|
+ username: hcst
|
|
|
+ password: hcst2019
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
- # 多数据源配置
|
|
|
- #multi-datasource1:
|
|
|
+ # 多数据源配置
|
|
|
+ #multi-datasource1:
|
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
#username: root
|
|
|
#password: root
|
|
@@ -102,7 +108,7 @@ spring:
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 192.168.1.199
|
|
|
+ host: 127.0.0.1
|
|
|
lettuce:
|
|
|
pool:
|
|
|
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
@@ -114,8 +120,7 @@ spring:
|
|
|
port: 6379
|
|
|
#mybatis plus 设置
|
|
|
mybatis-plus:
|
|
|
- mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
|
|
-
|
|
|
+ mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/kuaishou/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/crawler/modules/**/xml/*Mapper.xml
|
|
|
global-config:
|
|
|
# 关闭MP3.0自带的banner
|
|
|
banner: false
|
|
@@ -124,9 +129,9 @@ mybatis-plus:
|
|
|
id-type: 4
|
|
|
# 默认数据库表下划线命名
|
|
|
table-underline: true
|
|
|
- #configuration:
|
|
|
- # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
|
- #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+ configuration:
|
|
|
+ # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
|
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
#jeecg专用配置
|
|
|
jeecg:
|
|
|
path:
|
|
@@ -134,6 +139,7 @@ jeecg:
|
|
|
upload: D://upFiles
|
|
|
#webapp文件路径
|
|
|
webapp: D://webapp
|
|
|
-logging:
|
|
|
- level:
|
|
|
- org.jeecg.modules.system.mapper: debug
|
|
|
+ video-upload: D://upFiles//video//
|
|
|
+ image-upload: D://upFiles//image//
|
|
|
+ chrome-driver: D://chromedriver.exe
|
|
|
+ csv-upload: D://upFiles//csv//
|