73 lines
1.8 KiB
TypeScript
73 lines
1.8 KiB
TypeScript
// @ts-ignore
|
|
/* eslint-disable */
|
|
import request from '@/utils/request';
|
|
|
|
/** 此处后端没有提供注释 POST /InterfaceForward/BatchForwardThenPushToQueue */
|
|
export async function postBatchForwardThenPushToQueue(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.postBatchForwardThenPushToQueueParams,
|
|
body: any[],
|
|
options?: { [key: string]: any }
|
|
) {
|
|
return request<API.InterfaceRelayUnifyResultDto>(
|
|
'/InterfaceForward/BatchForwardThenPushToQueue',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
params: {
|
|
...params,
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|
|
|
|
/** 此处后端没有提供注释 POST /InterfaceForward/ForwardWithSubscribe */
|
|
export async function postForwardWithSubscribe(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.postForwardWithSubscribeParams,
|
|
body: any,
|
|
options?: { [key: string]: any }
|
|
) {
|
|
return request<API.InterfaceRelayUnifyResultDto>(
|
|
'/InterfaceForward/ForwardWithSubscribe',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
params: {
|
|
...params,
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|
|
|
|
/** 此处后端没有提供注释 POST /InterfaceForward/ReForward */
|
|
export async function postReForward(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.postReForwardParams,
|
|
body: any,
|
|
options?: { [key: string]: any }
|
|
) {
|
|
return request<API.InterfaceRelayUnifyResultDto>(
|
|
'/InterfaceForward/ReForward',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
params: {
|
|
...params,
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
}
|
|
);
|
|
}
|