Sfoglia il codice sorgente

还原feign client

lixing 4 anni fa
parent
commit
f4c155a57d

+ 1 - 1
dmp-alarm/pom.xml

@@ -3,7 +3,7 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
-        <artifactId>persagy-dmp</artifactId>
+        <artifactId>dmp</artifactId>
         <groupId>com.persagy</groupId>
         <version>4.0.0</version>
     </parent>

+ 2 - 0
dmp-alarm/src/main/java/com/persagy/dmp/alarm/client/PhysicalWorldClient.java

@@ -7,6 +7,8 @@ import org.springframework.stereotype.Service;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.cloud.openfeign.FeignClient;
+
 
 /**
  * @description: 对接物理世界接口