Browse Source

fix: 🧩 修改天气接口

pull/15/head
liyongle 3 years ago
parent
commit
2ba083d1d6
  1. 2
      src/http/api/base/index.ts

2
src/http/api/base/index.ts

@ -7,7 +7,7 @@ import { getPrefixUrl } from '@/http/http'
export const getConfig = () => request<TypeConfig[]>({ url: `${PREFIX.STATIC_URL}/JSON/config.json` })
//获取天气
export const getWeather = () => request<Weather>({ url: `${PREFIX.STATIC_URL}/JSON/GetWeather.json` })
export const getWeather = () => request<Weather>({ url: `${PREFIX.STATIC_URL}/JSON/getWeather.json` })
//获取设施列表
export const getFacilitiesList = () => request<Facility[]>({ url: `${PREFIX.STATIC_URL}/JSON/getProjectUsedIconList.json` })

Loading…
Cancel
Save