import request from '@/config/axios'

// date": "2024-06-25",
// "week": "2",
//   "dayweather": "晴",
//   "nightweather": "晴",
//   "daytemp": "29",
//   "nighttemp": "15",
//   "daywind": "东南",
//   "nightwind": "东南",
//   "daypower": "1-3",
//   "nightpower": "1-3"
// 天气 VO
export interface WeatherVO {
  date: string
  week: string,
  dayweather: string,
  nightweather: string,
  daytemp: string,
  nighttemp: string,
  daywind: string,
  nightwind: string,
  daypower: string,
  nightpower: string
}
// 生产计划 API
export const HomeApi = {


  // 查询天气
  getWeatherInfo: async () => {
    return await request.get({ url: `/home/info/weatherInfo`})
  },

}
