feat: 对接了首页的接口
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
import request from "../base/request";
|
||||
|
||||
/// 首页tab场景数据
|
||||
function homeTabsData(args) {
|
||||
return request.post("/hotelBiz/mainScene/queryTagListWithCache", args);
|
||||
}
|
||||
|
||||
/// 首页tab场景下内容数据
|
||||
function homeTabContentData(args) {
|
||||
return request.post("/hotelBiz/mainScene/queryContentListWithCache", args);
|
||||
}
|
||||
|
||||
/// 快速问题列表
|
||||
function homeQuickQuestionData(args) {
|
||||
return request.post("/hotelBiz/mainScene/queryQuickQuestionListWithCache", args);
|
||||
}
|
||||
|
||||
/// 主页数据
|
||||
function mainPageData(args) {
|
||||
return request.post("/hotelBiz/mainScene/mainPageData", args);
|
||||
@@ -16,4 +31,11 @@ function discoveryCradComponent() {
|
||||
return request.get("/hotelBiz/mainScene/discoveryComponent", {});
|
||||
}
|
||||
|
||||
export { mainPageData, quickBookingComponent, discoveryCradComponent };
|
||||
export {
|
||||
homeTabsData,
|
||||
homeTabContentData,
|
||||
homeQuickQuestionData,
|
||||
mainPageData,
|
||||
quickBookingComponent,
|
||||
discoveryCradComponent
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ import { getServiceUrl } from "../api/GetServiceUrlApi";
|
||||
const versionValue = "1.1.1";
|
||||
|
||||
/// 是否是测试版本, 测试版本为true, 发布版本为false
|
||||
const developVersion = false;
|
||||
const developVersion = true;
|
||||
|
||||
// 获取服务地址
|
||||
const getEvnUrl = async () => {
|
||||
|
||||
Reference in New Issue
Block a user