import request from '@/axios';

export const queryWeather = (stationId,area) => {
  return request({
    url: '/nh/home/weather',
    method: 'get',
    params: {
      "stationId":stationId,
      "area":area
    }
  })
}

export const queryWeatherHistory = (stationId,area,day) => {
  return request({
    url: '/nh/home/weatherHistory',
    method: 'get',
    params: {
      "stationId":stationId,
      "area":area,
      "day":day
    }
  })
}

