预约记录
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import type { BookingVO, BookingForm, BookingQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
@@ -12,7 +10,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns booking列表
|
||||
*/
|
||||
export function bookingList(params?: BookingQuery) {
|
||||
return requestClient.get<PageResult<BookingVO>>('/system/booking/list', { params });
|
||||
return requestClient.get<PageResult<BookingVO>>('/property/meetbooking/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +28,7 @@ export function bookingExport(params?: BookingQuery) {
|
||||
* @returns booking详情
|
||||
*/
|
||||
export function bookingInfo(id: ID) {
|
||||
return requestClient.get<BookingVO>(`/system/booking/${id}`);
|
||||
return requestClient.get<BookingVO>(`/property/meetbooking/{id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -85,7 +85,6 @@ export interface BookingVO {
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface BookingForm extends BaseEntity {
|
||||
@@ -173,7 +172,6 @@ export interface BookingForm extends BaseEntity {
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface BookingQuery extends PageQuery {
|
||||
|
Reference in New Issue
Block a user