diff --git a/xdclass-common/pom.xml b/xdclass-common/pom.xml
index e33a545..aeee595 100644
--- a/xdclass-common/pom.xml
+++ b/xdclass-common/pom.xml
@@ -82,7 +82,6 @@
jedis
-
org.apache.commons
@@ -113,12 +112,30 @@
com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery
+
org.springframework.cloud
spring-cloud-starter-openfeign
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-seata
+
+
+ io.seata
+ seata-spring-boot-starter
+
+
+
+
+ io.seata
+ seata-spring-boot-starter
+ 1.3.0
+
+
diff --git a/xdclass-coupon-service/src/main/resources/application.yml b/xdclass-coupon-service/src/main/resources/application.yml
index 80e541d..02ac841 100644
--- a/xdclass-coupon-service/src/main/resources/application.yml
+++ b/xdclass-coupon-service/src/main/resources/application.yml
@@ -33,3 +33,11 @@ logging:
root: INFO
+#seata配置
+seata:
+ tx-service-group: ${spring.application.name}-group
+ service:
+ grouplist:
+ xdclass: 134.175.219.253:8091
+ vgroup-mapping:
+ xdclass-coupon-service-group: xdclass
\ No newline at end of file
diff --git a/xdclass-user-service/src/main/resources/application.yml b/xdclass-user-service/src/main/resources/application.yml
index b7ea2aa..86b0244 100644
--- a/xdclass-user-service/src/main/resources/application.yml
+++ b/xdclass-user-service/src/main/resources/application.yml
@@ -51,3 +51,11 @@ minio:
bucketName: xdclass-shop-image
+#seata配置
+seata:
+ tx-service-group: ${spring.application.name}-group
+ service:
+ grouplist:
+ xdclass: 134.175.219.253:8091
+ vgroup-mapping:
+ xdclass-user-service-group: xdclass
\ No newline at end of file