|
@@ -2,7 +2,9 @@
|
|
spring:
|
|
spring:
|
|
datasource:
|
|
datasource:
|
|
dynamic:
|
|
dynamic:
|
|
|
|
+ seata: true
|
|
strict: true
|
|
strict: true
|
|
|
|
+ primary: base
|
|
datasource:
|
|
datasource:
|
|
mes:
|
|
mes:
|
|
url: jdbc:mysql://36.134.91.96:17330/bytesailing_mes?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
|
|
url: jdbc:mysql://36.134.91.96:17330/bytesailing_mes?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
|
|
@@ -51,3 +53,19 @@ spring:
|
|
max-active: 8
|
|
max-active: 8
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
max-wait: -1ms
|
|
max-wait: -1ms
|
|
|
|
+
|
|
|
|
+seata:
|
|
|
|
+ config:
|
|
|
|
+ type: file
|
|
|
|
+ application-id: springboot-seata
|
|
|
|
+ # enable-auto-data-source-proxy: false
|
|
|
|
+ registry:
|
|
|
|
+ type: file
|
|
|
|
+ service:
|
|
|
|
+ group-list:
|
|
|
|
+ default: 116.205.247.33:8091
|
|
|
|
+ vgroup-mapping:
|
|
|
|
+ springboot-seata-group: default
|
|
|
|
+ # seata 事务组编号 用于TC集群名
|
|
|
|
+ tx-service-group: springboot-seata-group
|
|
|
|
+
|