|
@@ -2,7 +2,9 @@
|
|
|
spring:
|
|
|
datasource:
|
|
|
dynamic:
|
|
|
+ seata: true
|
|
|
strict: true
|
|
|
+ primary: base
|
|
|
datasource:
|
|
|
mes:
|
|
|
url: jdbc:mysql://127.0.0.1:28643/bytesailing_mes?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
|
|
@@ -54,4 +56,19 @@ spring:
|
|
|
|
|
|
server:
|
|
|
servlet:
|
|
|
- context-path: /prod-api
|
|
|
+ context-path: /prod-api
|
|
|
+
|
|
|
+seata:
|
|
|
+ config:
|
|
|
+ type: file
|
|
|
+ application-id: springboot-seata
|
|
|
+ # enable-auto-data-source-proxy: false
|
|
|
+ registry:
|
|
|
+ type: file
|
|
|
+ service:
|
|
|
+ group-list:
|
|
|
+ default: 127.0.0.1:8091
|
|
|
+ vgroup-mapping:
|
|
|
+ springboot-seata-group: default
|
|
|
+ # seata 事务组编号 用于TC集群名
|
|
|
+ tx-service-group: springboot-seata-group
|