1234567891011121314151617181920212223242526 |
- 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 java.util.Map;
- /**
- * @ author :HJG
- * @ time :2022/1/10 14:16
- */
- @FeignClient(value = "dil-ams-api", url = "${openfeign.AmsFeign.url}")
- public interface AmsFeign {
- //销售焦炭自动派单
- @PostMapping("api/v1/ams/amssaleordermaterials/dispatchTruckOrderByCarrier")
- RESTfulResult dispatchTruckOrderByCarrier(@RequestBody Map<String, Object> mapValue);
- //根据物资查询运输物资单价
- @PostMapping(value = "/api/v1/ams/amscontracttruckprices/getInwardPriceBy")
- Map<String,Object> getInwardPriceBy(Map<String, Object> priceMap);
- }
|