AmsFeign.java 1.1 KB

12345678910111213141516171819202122232425262728293031
  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.util.List;
  8. import java.util.Map;
  9. /**
  10. * @ author :TXF
  11. * @ time :2021/10/8 19:07
  12. */
  13. @FeignClient(value = "DIL-AMS-API-DEV", url = "${openfeign.AmsFeign.url}")
  14. public interface AmsFeign {
  15. @PostMapping(value = "/api/v1/ams/amssaleorders/getHaveCarTruckNoList")
  16. RESTfulResult getHaveCarTruckNoList(@RequestBody(required = false) Map<String, Object> mapValue,
  17. @RequestParam Integer apiId,
  18. @RequestParam Integer pageNum,
  19. @RequestParam Integer pageSize,
  20. @RequestParam String con,
  21. @RequestParam String startTime,
  22. @RequestParam String endTime);
  23. }