dcs пре 1 година
родитељ
комит
2693feafe0

+ 9 - 0
virgo.manager/src/main/java/com/bosshand/virgo/message/service/ApiClient.java

@@ -1,8 +1,17 @@
 package com.bosshand.virgo.message.service;
 
 import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
 
 @FeignClient("virgo-api")
 public interface ApiClient {
 
+    @RequestMapping(value = "/configurationUrl/url", method = RequestMethod.GET)
+    public String get();
+
+    @RequestMapping(value = "/constructionLog/saveNotice", method = RequestMethod.POST)
+    public void saveNotice(@RequestBody String data);
+
 }