RequestParam,RequestBody,SpringQueryMap
OpenFeignOpenFeign是Spring Cloud 在Feign的基础上支持了Spring MVC的注解,如@RequesMapping等等OpenFeign的@FeignClient可以解析SpringMVC的@RequestMapping注解下的接口,并通过动态代理的方式产生实现类,实现类中做负载均衡并调用其他服务。RequestParam,RequestBody,SpringQueryMap1:@GetMapping和@PostMapping:在Rest服务的RPC调用中,一般
转载
2021-05-12 13:19:18 ·
922 阅读 ·
0 评论