2018年11月6日
摘要: RestTemplate 1.我用RestTemplate请求时 我把他注入到容器里 这样可以 什么用什么时候拿 2.也可以new出来 不过我不喜欢 所以就没有用new的 下面我自己的方法 先注入到容器 在 xxx-service.xml 里加上 然后用的时候 get post 阅读全文
posted @ 2018-11-06 16:45 bug_锋 阅读(429) 评论(0) 推荐(0)