From 683fd113f132a163eb2f2774a600248c10c3f7d9 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期五, 16 五月 2025 16:21:21 +0800 Subject: [PATCH] 修改降雨场次接口 --- src/api/hpApi.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/hpApi.js b/src/api/hpApi.js index 42f5fa6..2cba069 100644 --- a/src/api/hpApi.js +++ b/src/api/hpApi.js @@ -91,4 +91,16 @@ "pageSize": 10000 }); return response.data; +} + +// 鏍规嵁骞翠唤鑾峰彇闆ㄩ噺鏁版嵁 +export async function getRainfallDataYears(data) { + const response = await axios.post("/hp/rainfallCountyCity/getData", { + filterObject: { + year: data + }, + "pageSize": 1000 + }); + console.log("getRainfallData:", response); + return response.data; } \ No newline at end of file -- Gitblit v1.9.3