OmsFeign.java 788 B

123456789101112131415161718192021222324
  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 org.springframework.web.bind.annotation.RequestParam;
  7. import java.math.BigDecimal;
  8. import java.util.Map;
  9. /**
  10. * @ author :TXF
  11. * @ time :2021/10/27 18:05
  12. */
  13. @FeignClient(value = "dil-oms-dev", url = "${openfeign.OmsFeign.url}")
  14. public interface OmsFeign {
  15. @PostMapping("api/v1/oms/omstruckorderseparates/closeInwardOrder")
  16. Map<String,Object> closeInwardOrder(@RequestParam("orderId") Integer orderId,
  17. @RequestParam(value = "status") Integer status);
  18. }