You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
725 B
32 lines
725 B
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",
|
|
});
|
|
}
|
|
// 查询气象预警数量
|
|
export function getQueryTheNumberOfMeteorologicalWarning() {
|
|
return request({
|
|
url: "/weatherForecast/queryTheNumberOfMeteorologicalWarning",
|
|
method: "post",
|
|
});
|
|
}
|
|
|