feat; 消息与天气接口对接

This commit is contained in:
2026-05-07 17:16:45 +08:00
parent 9455beec4d
commit 42e0e4920f
8 changed files with 218 additions and 90 deletions

View File

@@ -10,6 +10,16 @@ function homeTabContentData(args) {
return request.post("/hotelBiz/mainScene/queryContentListWithCache", args);
}
/// 获取本地天气
function getLocalWeather(args) {
return request.get("/hotelBiz/mainScene/getLocalWeather", args);
}
/// 获取时间公告列表
function getTimeNoticeList(args) {
return request.get("/hotelBiz/mainScene/eventList", args);
}
/// 快速问题列表
function homeQuickQuestionData(args) {
return request.post("/hotelBiz/mainScene/queryQuickQuestionListWithCache", args);
@@ -34,6 +44,8 @@ function discoveryCradComponent() {
export {
homeTabsData,
homeTabContentData,
getLocalWeather,
getTimeNoticeList,
homeQuickQuestionData,
mainPageData,
quickBookingComponent,