WmshBoundFeign.java 800 B

1234567891011121314151617181920212223
  1. package com.steerinfo.dil.feign;
  2. import com.steerinfo.framework.controller.RESTfulResult;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.PostMapping;
  5. import org.springframework.web.bind.annotation.RequestBody;
  6. import java.util.Map;
  7. /**
  8. * @Author zhangnan
  9. * @Date 2021/6/23 9:58
  10. * @Version 1.0
  11. */
  12. @FeignClient(value = "dil-wsm-api",url = "${openfeign.WmshBoundFeign.url}")
  13. public interface WmshBoundFeign {
  14. @PostMapping("api/v1/wmsh/wmshinboundresults/addWarehousingResult")
  15. RESTfulResult addWarehousingResult(@RequestBody(required = false) Map<String,Object> wmshInboundResult);
  16. @PostMapping("api/v1/wmsh/wmshoutboundresults/addResult")
  17. RESTfulResult addResult(@RequestBody(required = false) Map<String,Object> map);
  18. }