|
@@ -1,8 +1,17 @@
|
|
package com.bosshand.virgo.message.service;
|
|
package com.bosshand.virgo.message.service;
|
|
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
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")
|
|
@FeignClient("virgo-api")
|
|
public interface ApiClient {
|
|
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);
|
|
|
|
+
|
|
}
|
|
}
|