154 lines
3.8 KiB
TypeScript
154 lines
3.8 KiB
TypeScript
/* eslint-disable */
|
|
// @ts-ignore
|
|
import request from '@/http/vue-query';
|
|
import type { CustomRequestOptions } from '@/http/types';
|
|
|
|
import * as API from './types';
|
|
|
|
/** 查询用户的预约时间 POST /app/appointmentTime/queryAppointmentTime */
|
|
export async function appAppointmentTimeQueryAppointmentTimePost({
|
|
options,
|
|
}: {
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.RAppointmentTimeVo>(
|
|
'/app/appointmentTime/queryAppointmentTime',
|
|
{
|
|
method: 'POST',
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|
|
|
|
/** 修改用户的预约时间 POST /app/appointmentTime/updateAppointmentTime */
|
|
export async function appAppointmentTimeUpdateAppointmentTimePost({
|
|
body,
|
|
options,
|
|
}: {
|
|
body: API.AppointmentTimeBo;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.R>('/app/appointmentTime/updateAppointmentTime', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 修改用户预约时间 PUT /xjpmj/appointmentTime */
|
|
export async function xjpmjAppointmentTimePut({
|
|
body,
|
|
options,
|
|
}: {
|
|
body: API.AppointmentTimeBoEditGroup;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.RVoid>('/xjpmj/appointmentTime', {
|
|
method: 'PUT',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 新增用户预约时间 POST /xjpmj/appointmentTime */
|
|
export async function xjpmjAppointmentTimePost({
|
|
body,
|
|
options,
|
|
}: {
|
|
body: API.AppointmentTimeBoAddGroup;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.RVoid>('/xjpmj/appointmentTime', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 获取用户预约时间详细信息 GET /xjpmj/appointmentTime/${param0} */
|
|
export async function xjpmjAppointmentTimeIdGet({
|
|
params,
|
|
options,
|
|
}: {
|
|
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
|
|
params: API.XjpmjAppointmentTimeidGetParams;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
const { id: param0, ...queryParams } = params;
|
|
|
|
return request<API.RAppointmentTimeVo>(`/xjpmj/appointmentTime/${param0}`, {
|
|
method: 'GET',
|
|
params: { ...queryParams },
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 删除用户预约时间 DELETE /xjpmj/appointmentTime/${param0} */
|
|
export async function xjpmjAppointmentTimeIdsDelete({
|
|
params,
|
|
options,
|
|
}: {
|
|
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
|
|
params: API.XjpmjAppointmentTimeidsDeleteParams;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
const { ids: param0, ...queryParams } = params;
|
|
|
|
return request<API.RVoid>(`/xjpmj/appointmentTime/${param0}`, {
|
|
method: 'DELETE',
|
|
params: { ...queryParams },
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 导出用户预约时间列表 POST /xjpmj/appointmentTime/export */
|
|
export async function xjpmjAppointmentTimeExportPost({
|
|
params,
|
|
options,
|
|
}: {
|
|
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
|
|
params: API.XjpmjAppointmentTimeExportPostParams;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.XjpmjAppointmentTimeExportPostResponse>(
|
|
'/xjpmj/appointmentTime/export',
|
|
{
|
|
method: 'POST',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|
|
|
|
/** 查询用户预约时间列表 GET /xjpmj/appointmentTime/list */
|
|
export async function xjpmjAppointmentTimeListGet({
|
|
params,
|
|
options,
|
|
}: {
|
|
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
|
|
params: API.XjpmjAppointmentTimeListGetParams;
|
|
options?: CustomRequestOptions;
|
|
}) {
|
|
return request<API.TableDataInfoAppointmentTimeVo>(
|
|
'/xjpmj/appointmentTime/list',
|
|
{
|
|
method: 'GET',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|