济菏高速业务端

58 lines
1.2 KiB

1 year ago
import request from "@/utils/request";
// 查询天气状况
export function getWeatherFacts() {
return request({
url: "/weatherForecast/weatherFacts",
method: "post",
});
}
// 按小时查询天气状况
export function getHourlyWeather() {
return request({
url: "/weatherForecast/hourlyWeather",
method: "post",
});
}
// 查询气象预警
export function getMeteorologicalEarlyWarning() {
return request({
url: "/weatherForecast/meteorologicalEarlyWarning",
method: "post",
});
}
1 year ago
1 year ago
// 查询气象预警数量
export function getQueryTheNumberOfMeteorologicalWarning() {
return request({
url: "/weatherForecast/queryTheNumberOfMeteorologicalWarning",
method: "post",
});
}
1 year ago
// 统计气象设备当天最新信息列表
export function getListLatest() {
return request({
url: "/dc/system/meteorologicalDetector/listLatest",
method: "get",
});
}
// 统计气象设备信息列表
export function getDeviceNameListLatest(name) {
return request({
url: "/dc/system/meteorologicalDetector/" + name,
method: "get",
});
}
// 根据物联产品id获取设备数据
export function getIdDevices(id) {
return request({
url: "/business/device/devices/" + id,
method: "get",
});
}