##前言最近因人们一大堆乱七八糟的需求,所以需要一个天气查询,有时候也不明为什么会有这么一大堆废话本人写文章不太喜欢这么多话,所以我总结了一下几点.......
返回数据
目录结构
WeatherConfig
/**
* @author JavaBighead
* @version 1.0
* @date 2021/9/17 0017 9:23
*/
@Configuration
public class WeatherConfig {
@Bean
public RestTemplate restTemplate(){
RestTemplate restTemplate = new RestTemplate(new HttpComponentsClientHttpRequestFa