|
@@ -13,7 +13,8 @@ export const getCompanyInfo = (companyInfo: RequestParams) => {
|
|
|
return https().request<RootObject<CompanyModel>>(`/api/company/config/${companyInfo.companyId}`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
export const getWeather = () => {
|
|
|
- return https().request<RootWeatherObject<OutherWeather>>(`${objectService}weather/getCurrent`, Method.GET, undefined, ContentType.json)
|
|
|
+ // return https().request<RootWeatherObject<OutherWeather>>(`${objectService}weather/getCurrent`, Method.GET, undefined, ContentType.json)
|
|
|
+ return https().request<RootWeatherObject<OutherWeather>>(`${objectService}weather/getCurrentWeather`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
|
|
|
// 获取环境数据
|