feat: 调整项目结构
This commit is contained in:
19
src/request/api/MainPageDataApi.js
Normal file
19
src/request/api/MainPageDataApi.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from "../base/request";
|
||||
|
||||
/// 主页数据
|
||||
function mainPageData(args) {
|
||||
return request.post("/hotelBiz/mainScene/mainPageData", args);
|
||||
}
|
||||
|
||||
/// 快速预订组件
|
||||
function quickBookingComponent(selectedData) {
|
||||
const args = { selectedData: selectedData };
|
||||
return request.post("/hotelBiz/mainScene/quickBookingComponent", args);
|
||||
}
|
||||
|
||||
/// 探索发现卡片组件
|
||||
function discoveryCradComponent() {
|
||||
return request.get("/hotelBiz/mainScene/discoveryComponent", {});
|
||||
}
|
||||
|
||||
export { mainPageData, quickBookingComponent, discoveryCradComponent };
|
||||
Reference in New Issue
Block a user