Explorar o código

修改天气监测接口地址

vera_min %!s(int64=3) %!d(string=hai) anos
pai
achega
4ce3ca03a5
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      src/api/datahub/index.ts

+ 4 - 5
src/api/datahub/index.ts

@@ -53,12 +53,11 @@ export default {
    },
   
    weather:{
-      getCityWeatherList: () => get('/region/weather/cityWeatherList'),
-      getWhichCityWeather: (params: object) => get('/region/weather/getInfoById', params),
-      getTemperatureEchartById: (params: object) => get('/region/weather/getTemperatureEchartById', params),
-      getWindpowerEchartById: (params: object) => get('/region/weather/getWindpowerEchartById', params),
+      getCityWeatherList: () => get('/envirotronics/weather/cityWeatherList'),
+      getWhichCityWeather: (params: object) => get('/envirotronics/weather/getInfoById', params),
+      getTemperatureEchartById: (params: object) => get('/envirotronics/weather/getTemperatureEchartById', params),
+      getWindpowerEchartById: (params: object) => get('/envirotronics/weather/getWindpowerEchartById', params),
    },
-
    statistics:{
       getStatisticsChartData: (params: object) => get('/statistics/bar/chart/data', params),
       getStatisticsLineChartData: (params: object) => get('/statistics/broken/line/data', params),