소스 검색

Merge remote-tracking branch 'origin/test' into test

李进 1 년 전
부모
커밋
fd49df802c
2개의 변경된 파일19개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      sys-api-feign/pom.xml
  2. 12 0
      sys-api-feign/src/main/java/com/xy/feign/MsgFeign.java

+ 7 - 1
sys-api-feign/pom.xml

@@ -23,5 +23,11 @@
             <artifactId>sys-api</artifactId>
             <version>1.0</version>
         </dependency>
+        <dependency>
+            <groupId>com.xy</groupId>
+            <artifactId>msg-api</artifactId>
+            <version>1.0</version>
+        </dependency>
+
     </dependencies>
-</project>
+</project>

+ 12 - 0
sys-api-feign/src/main/java/com/xy/feign/MsgFeign.java

@@ -0,0 +1,12 @@
+package com.xy.feign;
+
+import com.xy.FeignInterceptor;
+import com.xy.consts.ServiceConsts;
+import com.xy.service.MsgSendApiService;
+import org.springframework.cloud.openfeign.FeignClient;
+
+
+@FeignClient(value = ServiceConsts.SERVICE_NAME, configuration = FeignInterceptor.class)
+public interface MsgFeign extends MsgSendApiService {
+
+}