fix(): 修改实时雨情的接口

lsf-dev
李神峰 2026-03-12 13:49:54 +08:00
parent 07d05d20ed
commit 6a1443e73a
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const WaterRainSection = () => {
const getRainList = async () => { const getRainList = async () => {
setLoading(true); setLoading(true);
try { try {
const result = await httpget(apiurl.sy.sssyq.reservoir); const result = await httpget(apiurl.sy.sssyq.rain);
if (result.code === 200) { if (result.code === 200) {
setDataList(result.data); setDataList(result.data);
} }
@ -42,7 +42,7 @@ const WaterRainSection = () => {
const getReservoirList = async () => { const getReservoirList = async () => {
setLoading(true); setLoading(true);
try { try {
const result = await httpget(apiurl.sy.sssyq.rain); const result = await httpget(apiurl.sy.sssyq.reservoir);
if (result.code === 200) { if (result.code === 200) {
setDataList(result.data); setDataList(result.data);
} }