diff --git a/src/views/Home/components/Business/SiYu/components/WaterRainSection/index.js b/src/views/Home/components/Business/SiYu/components/WaterRainSection/index.js index 5a443c9..b3aafd5 100644 --- a/src/views/Home/components/Business/SiYu/components/WaterRainSection/index.js +++ b/src/views/Home/components/Business/SiYu/components/WaterRainSection/index.js @@ -28,7 +28,7 @@ const WaterRainSection = () => { const getRainList = async () => { setLoading(true); try { - const result = await httpget(apiurl.sy.sssyq.reservoir); + const result = await httpget(apiurl.sy.sssyq.rain); if (result.code === 200) { setDataList(result.data); } @@ -42,7 +42,7 @@ const WaterRainSection = () => { const getReservoirList = async () => { setLoading(true); try { - const result = await httpget(apiurl.sy.sssyq.rain); + const result = await httpget(apiurl.sy.sssyq.reservoir); if (result.code === 200) { setDataList(result.data); }