From 11f53ea1bb930d2c9a4d779af74cfb016fc9c39b Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Tue, 23 Dec 2025 03:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/store.ts | 8 ++-- src/bundle/profile/change-mobile.vue | 4 ++ src/bundle/profile/change-password.vue | 4 ++ src/bundle/store/edit-store.vue | 6 +-- src/components/BookingTime.vue | 24 ++---------- src/pages/store/reserve.vue | 52 ++++++++++++-------------- src/pages/store/room-detail.vue | 2 +- 7 files changed, 43 insertions(+), 57 deletions(-) diff --git a/src/api/store.ts b/src/api/store.ts index 21cf09a..4bff7a9 100644 --- a/src/api/store.ts +++ b/src/api/store.ts @@ -146,15 +146,15 @@ export function getAllRoomList(store_id: number) { * 包间预定 */ export interface IReserveRoomParams { - id: number + room_id: number day_time: string - start_time: string - end_time: string + day_title: string hours: number + timeslot: string } export function reserveRoom(data: IReserveRoomParams) { - return http.Post('/storeapi/store/submitStoreOrder', data) + return http.Post('/storeapi/order/addOrder', data) } /** diff --git a/src/bundle/profile/change-mobile.vue b/src/bundle/profile/change-mobile.vue index 6101359..a8d2af8 100644 --- a/src/bundle/profile/change-mobile.vue +++ b/src/bundle/profile/change-mobile.vue @@ -8,6 +8,10 @@