Default Changelist

This commit is contained in:
2022-03-04 09:44:06 +08:00
parent 352cc40c5e
commit 736d5a8acc
8 changed files with 400 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package com.xkrs.util;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.HashMap;
import java.util.Map;
/**
* @Author: XinYi Song
* @Date: 2022/3/4 9:38
*/
public class ManagementUtil {
public static JsonNode getForecastWeather() {
String url = "http://portalweather.comsys.net.cn/weather03/api/weatherService/getDailyWeather?cityName=大同";
Map<String, String> map = new HashMap<>(3);
JsonNode jsonNode = RequestUtil.doGetJsonNode(url, map);
return jsonNode;
}
}