TRX 1 year ago
parent
commit
672d002bc0

+ 7 - 0
FullCardServer/pom.xml

@@ -36,6 +36,13 @@
             <version>${project.version}</version>
         </dependency>
 
+        <!--   支付中心     -->
+        <dependency>
+            <groupId>com.github.microservice.payment</groupId>
+            <artifactId>PaymentClient</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
         <dependency>
             <groupId>com.github.microservice.components</groupId>
             <artifactId>RedisData</artifactId>

+ 11 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/config/PaymentServerConfig.java

@@ -0,0 +1,11 @@
+package com.zhongshu.card.server.core.config;
+
+import com.github.microservice.auth.config.AuthClientConfiguration;
+import com.zhongshu.payment.client.config.PaymentClientConfiguration;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Import;
+
+@Configuration
+@Import(PaymentClientConfiguration.class)
+public class PaymentServerConfig {
+}