diff --git a/src/api/zongHeDD.js b/src/api/zongHeDD.js index d45395e..bdef583 100644 --- a/src/api/zongHeDD.js +++ b/src/api/zongHeDD.js @@ -3,7 +3,7 @@ //降雨日历 export function rainTimeDay(params) { return request({ - url: `/business/preventFloodWn/rainfallSessionInfo/queryRainCalendar`, + url: `/business/preventFlood/rainfallSessionInfo/queryRainCalendar`, method: 'get', params, }); @@ -12,7 +12,7 @@ //通过日纬度查询单个雨量站 export function querySationdateByDay(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByDay', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByDay', method: 'post', data: params, }); @@ -21,7 +21,7 @@ //获取所有雨量站的降雨总和对比曲线 export function queryRainStationCharts(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/queryStationDayCharts', + url: '/business/preventFlood/rainfallSessionMonitor/queryStationDayCharts', method: 'post', data: params, }); @@ -30,7 +30,7 @@ //通过月的纬度查询多个雨量站降雨场次数据 export function querySationdateByMonth(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByMonth', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByMonth', method: 'post', data: params, }); @@ -38,7 +38,7 @@ //切换月纬度接口的时间查询数据 export function changeMonthDate(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/changeMonthDate', + url: '/business/preventFlood/rainfallSessionMonitor/changeMonthDate', method: 'post', data: params, }); @@ -47,7 +47,7 @@ //通过年的纬度查询多个雨量站数据 export function querySationdateByYear(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByYear', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByYear', method: 'post', data: params, }); @@ -55,7 +55,7 @@ //切换年纬度接口的时间查询数据 export function changeYearDate(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/changeYearDate', + url: '/business/preventFlood/rainfallSessionMonitor/changeYearDate', method: 'post', data: params, }); diff --git a/src/api/zongHeDD.js b/src/api/zongHeDD.js index d45395e..bdef583 100644 --- a/src/api/zongHeDD.js +++ b/src/api/zongHeDD.js @@ -3,7 +3,7 @@ //降雨日历 export function rainTimeDay(params) { return request({ - url: `/business/preventFloodWn/rainfallSessionInfo/queryRainCalendar`, + url: `/business/preventFlood/rainfallSessionInfo/queryRainCalendar`, method: 'get', params, }); @@ -12,7 +12,7 @@ //通过日纬度查询单个雨量站 export function querySationdateByDay(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByDay', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByDay', method: 'post', data: params, }); @@ -21,7 +21,7 @@ //获取所有雨量站的降雨总和对比曲线 export function queryRainStationCharts(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/queryStationDayCharts', + url: '/business/preventFlood/rainfallSessionMonitor/queryStationDayCharts', method: 'post', data: params, }); @@ -30,7 +30,7 @@ //通过月的纬度查询多个雨量站降雨场次数据 export function querySationdateByMonth(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByMonth', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByMonth', method: 'post', data: params, }); @@ -38,7 +38,7 @@ //切换月纬度接口的时间查询数据 export function changeMonthDate(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/changeMonthDate', + url: '/business/preventFlood/rainfallSessionMonitor/changeMonthDate', method: 'post', data: params, }); @@ -47,7 +47,7 @@ //通过年的纬度查询多个雨量站数据 export function querySationdateByYear(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/querySationdateByYear', + url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByYear', method: 'post', data: params, }); @@ -55,7 +55,7 @@ //切换年纬度接口的时间查询数据 export function changeYearDate(params) { return request({ - url: '/business/preventFloodWn/rainfallSessionMonitor/changeYearDate', + url: '/business/preventFlood/rainfallSessionMonitor/changeYearDate', method: 'post', data: params, }); diff --git a/vite.config.js b/vite.config.js index 25e58de..28394d5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,8 +6,8 @@ const Timestamp = new Date().getTime(); //随机时间戳 -const targetUrl = 'http://192.168.16.254:7200'; //杨辉 -// const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 +// const targetUrl = 'http://192.168.16.254:7200'; //杨辉 +const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 // https://vitejs.dev/config/ export default defineConfig(({ mode, command }) => {