| 123456789101112131415161718192021 | package com.miniframe.feign;import org.springframework.cloud.openfeign.FeignClient;import org.springframework.web.bind.annotation.RequestBody;import org.springframework.web.bind.annotation.RequestHeader;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RequestMethod;import java.net.URI;import java.util.Map;@FeignClient(value="$!map.get("serviceName")")public interface IFeign$!map.get("fileName") {	//有URI,将使用URI地址发送	@RequestMapping(value="",method = RequestMethod.POST)	feign.Response CommonService(URI uri, @RequestHeader Map<String, String> headers, @RequestBody Map reqMap);	@RequestMapping(value="/TransServlet",method = RequestMethod.POST)	feign.Response TransServlet(@RequestHeader Map<String, String> headers, @RequestBody Map reqMap);}
 |