修改配置

This commit is contained in:
wangyan 2022-06-09 08:57:31 +08:00
parent 9835cdff05
commit 2a4332f21d
2 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
server:
port: 8890
port: 8891
tomcat:
max-swallow-size: -1
error:
@ -7,7 +7,7 @@ server:
include-stacktrace: ALWAYS
include-message: ALWAYS
servlet:
context-path: /ndsbw
context-path: /nyzy
compression:
enabled: true
min-response-size: 1024
@ -135,9 +135,9 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3307/ndsbw_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3306/nyzy_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: admin
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:

View File

@ -1,5 +1,5 @@
server:
port: 8886
port: 8891
tomcat:
max-swallow-size: -1
error:
@ -7,7 +7,7 @@ server:
include-stacktrace: ALWAYS
include-message: ALWAYS
servlet:
context-path: /ndsbw
context-path: /nyzy
compression:
enabled: true
min-response-size: 1024
@ -134,7 +134,7 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/ndsbw_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3306/nyzy_jeecg_db?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
@ -146,7 +146,7 @@ spring:
#driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置
redis:
database: 6
database: 9
host: 127.0.0.1
lettuce:
pool:
@ -179,9 +179,9 @@ jeecg :
uploadType: local
path :
#文件上传根目录 设置
upload: D://opt//ndsbw//upFiles
upload: D://opt//nyzy//upFiles
#webapp文件路径
webapp: D://opt//ndsbw//webapp
webapp: D://opt//nyzy//webapp
shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
#阿里云oss存储配置