|
|
|
@ -1,5 +1,8 @@
|
|
|
|
# 数据源配置 帆软地址:124.117.215.130:8450
|
|
|
|
# 数据源配置 帆软地址:124.117.215.130:8450
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
|
|
|
|
# 泰国/柬埔寨时区
|
|
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
|
|
time-zone: GMT+7
|
|
|
|
datasource:
|
|
|
|
datasource:
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
@ -11,9 +14,9 @@ spring:
|
|
|
|
username: sa
|
|
|
|
username: sa
|
|
|
|
password: haiwei@123
|
|
|
|
password: haiwei@123
|
|
|
|
# 新疆库尔勒测温环境
|
|
|
|
# 新疆库尔勒测温环境
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# username: sa
|
|
|
|
# username: sa
|
|
|
|
# password: haiwei@2024
|
|
|
|
# password: haiwei@2024
|
|
|
|
# 泰国成山采集系统
|
|
|
|
# 泰国成山采集系统
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# username: sa
|
|
|
|
# username: sa
|
|
|
|
@ -22,6 +25,14 @@ spring:
|
|
|
|
# url: jdbc:sqlserver://192.168.100.60:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# url: jdbc:sqlserver://192.168.100.60:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
# username: sa
|
|
|
|
# username: sa
|
|
|
|
# password: abc@123
|
|
|
|
# password: abc@123
|
|
|
|
|
|
|
|
# 越南金宇温度采集系统
|
|
|
|
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
|
|
|
|
# username: sa
|
|
|
|
|
|
|
|
# password: haiwei@123
|
|
|
|
|
|
|
|
# 柬埔寨测温能源管理系统
|
|
|
|
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=hw_iot_ems
|
|
|
|
|
|
|
|
# username: userapp
|
|
|
|
|
|
|
|
# password: Vk^4HNLkX<
|
|
|
|
# 从库数据源
|
|
|
|
# 从库数据源
|
|
|
|
slave:
|
|
|
|
slave:
|
|
|
|
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
@ -39,10 +50,9 @@ spring:
|
|
|
|
# 初始连接数
|
|
|
|
# 初始连接数
|
|
|
|
initialSize: 5
|
|
|
|
initialSize: 5
|
|
|
|
# 最小连接池数量
|
|
|
|
# 最小连接池数量
|
|
|
|
minIdle: 10
|
|
|
|
minIdle: 50
|
|
|
|
# 最大连接池数量
|
|
|
|
# 最大连接池数量
|
|
|
|
|
|
|
|
maxActive: 100
|
|
|
|
maxActive: 20
|
|
|
|
|
|
|
|
# 配置获取连接等待超时的时间
|
|
|
|
# 配置获取连接等待超时的时间
|
|
|
|
maxWait: 60000
|
|
|
|
maxWait: 60000
|
|
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
|
|
|