feat: 增加获取位置的方法

This commit is contained in:
2026-05-08 14:58:13 +08:00
parent a3c82382c2
commit 25c8a3570d
6 changed files with 103 additions and 27 deletions

View File

@@ -10,6 +10,11 @@ function homeTabContentData(args) {
return request.post("/hotelBiz/mainScene/queryContentListWithCache", args);
}
/// 获取距离用户最近的标签
function getNearbyTags(args) {
return request.get("/hotelBiz/mainScene/nearestTag", args);
}
/// 获取本地天气
function getLocalWeather(args) {
return request.get("/hotelBiz/mainScene/getLocalWeather", args);
@@ -44,6 +49,7 @@ function discoveryCradComponent() {
export {
homeTabsData,
homeTabContentData,
getNearbyTags,
getLocalWeather,
getTimeNoticeList,
homeQuickQuestionData,