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 @@