项目配置修改

base
zhc077 3 months ago
parent 02729c2270
commit 8cafe9e432
  1. 5545
      jeecg-module-demo/src/main/resources/sql/base_comp.sql
  2. 6
      jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  3. 8
      jeecg-module-system/jeecg-system-start/src/main/resources/application-local.yml
  4. 6
      jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
server: server:
port: 18083 port: 18086
tomcat: tomcat:
max-swallow-size: -1 max-swallow-size: -1
error: error:
@ -133,7 +133,7 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource: datasource:
master: master:
url: jdbc:mysql://182.92.169.222:3306/hnjd_comp0728?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://182.92.169.222:3306/base_comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root username: root
password: ycwl2022. password: ycwl2022.
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -145,7 +145,7 @@ spring:
#driver-class-name: com.mysql.cj.jdbc.Driver #driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置 #redis 配置
redis: redis:
database: 3 database: 6
host: 182.92.169.222 host: 182.92.169.222
port: 6379 port: 6379
password: 'redis@ycwl2022.' password: 'redis@ycwl2022.'

@ -1,5 +1,5 @@
server: server:
port: 18082 port: 18086
tomcat: tomcat:
max-swallow-size: -1 max-swallow-size: -1
error: error:
@ -131,9 +131,9 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource: datasource:
master: master:
url: jdbc:mysql://182.92.169.222:3306/comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://localhost:3306/base_comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root username: root
password: ycwl2022. password: root
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置 # 多数据源配置
#multi-datasource1: #multi-datasource1:
@ -143,7 +143,7 @@ spring:
#driver-class-name: com.mysql.cj.jdbc.Driver #driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置 #redis 配置
redis: redis:
database: 2 database: 6
host: 182.92.169.222 host: 182.92.169.222
port: 6379 port: 6379
password: 'redis@ycwl2022.' password: 'redis@ycwl2022.'

@ -1,5 +1,5 @@
server: server:
port: 18083 port: 18086
tomcat: tomcat:
max-swallow-size: -1 max-swallow-size: -1
error: error:
@ -133,7 +133,7 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource: datasource:
master: master:
url: jdbc:mysql://182.92.169.222:3306/hnjd_comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://182.92.169.222:3306/base_comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root username: root
password: ycwl2022. password: ycwl2022.
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -145,7 +145,7 @@ spring:
#driver-class-name: com.mysql.cj.jdbc.Driver #driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置 #redis 配置
redis: redis:
database: 3 database: 6
host: 182.92.169.222 host: 182.92.169.222
port: 6379 port: 6379
password: 'redis@ycwl2022.' password: 'redis@ycwl2022.'

Loading…
Cancel
Save