1.修正环境变量

master
董哲奇 1 year ago
parent bd7539b3d6
commit a23d808422

@ -1,10 +1,19 @@
server.port=8081
server.tomcat.uri-encoding=utf-8
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.url=jdbc:sqlserver://localhost:1433;DatabaseName=gj_erp
#spring.datasource.url=jdbc:sqlserver://192.168.3.250:1433;DatabaseName=gj_erp
spring.datasource.username=sa
spring.datasource.password=gjerp
spring.datasource.master.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.master.url=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=gj_erp
spring.datasource.master.jdbc-url=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=gj_erp
#spring.datasource.sl.url=jdbc:sqlserver://192.168.3.250:1433;DatabaseName=GJ_ERP
#spring.datasource.sl.url=jdbc:sqlserver://192.127.0.3:1433;DatabaseName=GJ_ERP_Java
spring.datasource.master.username=sa
spring.datasource.master.password=gjerp
spring.datasource.master.initialize=true
spring.datasource.jiuzhou.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.jiuzhou.jdbc-url=jdbc:mysql://192.168.3.12:3306/jiuzhou?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true
spring.datasource.jiuzhou.username=root
spring.datasource.jiuzhou.password=gjerp
spring.datasource.jiuzhou.initialize=true
spring.mvc.throw-exception-if-no-handler-found=true

@ -20,10 +20,19 @@ spring.servlet.multipart.max-request-size=500MB
spring.servlet.multipart.enabled = true
server.port=8081
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.url=jdbc:sqlserver://192.127.0.3:1433;DatabaseName=GJ_ERP_Java
spring.datasource.username=sa
spring.datasource.password=gjerp
spring.datasource.master.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.sl.url=jdbc:sqlserver://192.127.0.3:1433;DatabaseName=GJ_ERP_Java
spring.datasource.sl.jdbc-url=jdbc:sqlserver://192.127.0.3:1433;DatabaseName=GJ_ERP_Java
spring.datasource.master.username=sa
spring.datasource.master.password=gjerp
spring.datasource.master.initialize=true
spring.datasource.jiuzhou.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.jiuzhou.jdbc-url=jdbc:mysql://192.168.3.12:3306/jiuzhou?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true
spring.datasource.jiuzhou.username=root
spring.datasource.jiuzhou.password=gjerp
spring.datasource.jiuzhou.initialize=true
mybatis-plus.configuration.batch-size=5000

Loading…
Cancel
Save