package com.steerinfo.dil.feign; import com.steerinfo.framework.controller.RESTfulResult; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; import java.util.Map; /** * @ author :TXF * @ time :2021/10/8 19:07 */ @FeignClient(value = "DIL-AMS-API-DEV", url = "${openfeign.AmsFeign.url}") public interface AmsFeign { @PostMapping(value = "/api/v1/ams/amssaleorders/getHaveCarTruckNoList") RESTfulResult getHaveCarTruckNoList(@RequestBody(required = false) Map mapValue, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize, @RequestParam String con, @RequestParam String startTime, @RequestParam String endTime); }