Default Changelist
This commit is contained in:
@ -1,19 +1,29 @@
|
||||
package com.xkrs.util;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.xkrs.model.entity.DeviceManagement;
|
||||
import springfox.documentation.spring.web.json.Json;
|
||||
|
||||
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=大同";
|
||||
public static JsonNode getManagement() {
|
||||
String url = "https://111.53.13.180:4433/evo-apigw/evo-brm/1.0.0/device?deviceCode=100001";
|
||||
Map<String, String> map = new HashMap<>(3);
|
||||
JsonNode jsonNode = RequestUtil.doGetJsonNode(url, map);
|
||||
return jsonNode;
|
||||
}
|
||||
|
||||
public static String getPaging(String para) {
|
||||
String url = "https://111.53.13.180:4433/evo-apigw/evo-brm/1.2.0/device/subsystem/page";
|
||||
String jsonNode = RequestUtil.doPostJson(url, para);
|
||||
return jsonNode;
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user