|
|
@ -7,7 +7,7 @@ import { getPrefixUrl } from '@/http/http' |
|
|
export const getConfig = () => request<TypeConfig[]>({ url: `${PREFIX.STATIC_URL}/JSON/config.json` }) |
|
|
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` }) |
|
|
export const getFacilitiesList = () => request<Facility[]>({ url: `${PREFIX.STATIC_URL}/JSON/getProjectUsedIconList.json` }) |
|
|
|