Spring Cloud 学习笔记(3)

Feign

Feign可以把Rest的请求进行隐藏,伪装成类似SpringMVC的Controller一样。 你不用再自己拼接url,拼接参数等等操作,一切都交给Feign去做

 先写个Feign的例子

 

 

 

猜你喜欢

转载自www.cnblogs.com/yangw/p/11922262.html