IMFeign.java 500 B

123456789101112131415
  1. package com.steerinfo.dil.feign;
  2. import org.springframework.cloud.openfeign.FeignClient;
  3. import org.springframework.web.bind.annotation.PostMapping;
  4. import org.springframework.web.bind.annotation.RequestBody;
  5. import org.springframework.web.bind.annotation.ResponseBody;
  6. import java.util.HashMap;
  7. @FeignClient(value = "DIL-IM-DEV", url = "172.16.33.166:8055")
  8. public interface IMFeign {
  9. @PostMapping("/websocket/sendToUser")
  10. @ResponseBody
  11. String sendToUser(@RequestBody HashMap map);
  12. }