@ -30,7 +30,7 @@ export const getTotalCarbonEmissions = (query) => {
//
export const getWeather = () => {
return request({
url: "/weather/v1",
url: "/weathers/weather/v1",
method: "get",
params: {
district_id: 431024,
@ -48,13 +48,13 @@ module.exports = {
"^/xumumodel": "/xumumodel",
},
'/weather': {
'/weathers': {
target: 'https://api.map.baidu.com',
changeOrigin: true,
ws: true,
secure: false,
pathRewrite: {
"^/weather": "/",
"^/weathers": "/",