EASFeign.java 644 B

12345678910111213141516171819202122
  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 java.util.Map;
  6. /**
  7. * @author HUJIANGUO
  8. * @create 2021-11-10 11:30
  9. */
  10. @FeignClient(value = "logistic",url = "172.16.33.122:44325")
  11. public interface EASFeign {
  12. @PostMapping("api/logistics/AbnormalReturn")
  13. Map<String,Object> sendAbnormalReturn(@RequestBody(required = true) Map<String, Object> map);
  14. @PostMapping("api/logistics/TareApplyFor")
  15. Map<String,Object> pushWeightApply(Map<String, Object> map);
  16. }