|  | @@ -1,24 +1,28 @@
 | 
	
		
			
				|  |  | -import request from "@/utils/request";
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * 水质自动站多站最新数据
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  export async function getWeather() {
 | 
	
		
			
				|  |  | -  const jiaxinWeather = await request({
 | 
	
		
			
				|  |  | -    url: '/nmc_api/rest/weather?stationid=pxfeS',
 | 
	
		
			
				|  |  | -    method: 'get'
 | 
	
		
			
				|  |  | -  }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | -  const huangshanWeather = await request({
 | 
	
		
			
				|  |  | -    url: '/nmc_api/rest/weather?stationid=dFIpc',
 | 
	
		
			
				|  |  | -    method: 'get'
 | 
	
		
			
				|  |  | -  }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | -  const ningdeWeather = await request({
 | 
	
		
			
				|  |  | -    url: '/nmc_api/rest/weather?stationid=uKfig',
 | 
	
		
			
				|  |  | -    method: 'get'
 | 
	
		
			
				|  |  | -  }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | +  // const jiaxinWeather = await request({
 | 
	
		
			
				|  |  | +  //   url: '/nmc_api/rest/weather?stationid=pxfeS',
 | 
	
		
			
				|  |  | +  //   method: 'get'
 | 
	
		
			
				|  |  | +  // }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | +  // const huangshanWeather = await request({
 | 
	
		
			
				|  |  | +  //   url: '/nmc_api/rest/weather?stationid=dFIpc',
 | 
	
		
			
				|  |  | +  //   method: 'get'
 | 
	
		
			
				|  |  | +  // }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | +  // const ningdeWeather = await request({
 | 
	
		
			
				|  |  | +  //   url: '/nmc_api/rest/weather?stationid=uKfig',
 | 
	
		
			
				|  |  | +  //   method: 'get'
 | 
	
		
			
				|  |  | +  // }).then(res => res.data.real.weather)
 | 
	
		
			
				|  |  | +  // return Promise.resolve([
 | 
	
		
			
				|  |  | +  //   {city: '嘉兴市', weather: `${jiaxinWeather.info} ${jiaxinWeather.temperature}℃`},
 | 
	
		
			
				|  |  | +  //   {city: '黄山市', weather: `${huangshanWeather.info} ${huangshanWeather.temperature}℃`},
 | 
	
		
			
				|  |  | +  //   {city: '宁德市', weather: `${ningdeWeather.info} ${ningdeWeather.temperature}℃`},
 | 
	
		
			
				|  |  | +  // ])
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    return Promise.resolve([
 | 
	
		
			
				|  |  | -    {city: '嘉兴市', weather: `${jiaxinWeather.info} ${jiaxinWeather.temperature}℃`},
 | 
	
		
			
				|  |  | -    {city: '黄山市', weather: `${huangshanWeather.info} ${huangshanWeather.temperature}℃`},
 | 
	
		
			
				|  |  | -    {city: '宁德市', weather: `${ningdeWeather.info} ${ningdeWeather.temperature}℃`},
 | 
	
		
			
				|  |  | +    {city: '嘉兴市', weather: `晴 23℃`},
 | 
	
		
			
				|  |  | +    {city: '黄山市', weather: `多云 21℃`},
 | 
	
		
			
				|  |  | +    {city: '宁德市', weather: `晴 18℃`},
 | 
	
		
			
				|  |  |    ])
 | 
	
		
			
				|  |  |  }
 |