You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
5.7 KiB
TypeScript
186 lines
5.7 KiB
TypeScript
// @ts-ignore
|
|
/* eslint-disable */
|
|
import request from '@/utils/request';
|
|
|
|
/** 后台新增或者修改创新服务 POST /b2b2c/pbcInnovativeService/addOrUpdateInnovativeService */
|
|
export async function addOrUpdateInnovativeServiceUsingPost(
|
|
body: API.PbcInnovativeService_,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultString_>(
|
|
'/b2b2c/pbcInnovativeService/addOrUpdateInnovativeService',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 后台根据id获取创新服务详情 后台 GET /b2b2c/pbcInnovativeService/admin/InnovativeServiceDetail */
|
|
export async function innovativeServiceDetailForAdminUsingGet(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.innovativeServiceDetailForAdminUsingGETParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultPbcInnovativeService_>(
|
|
'/b2b2c/pbcInnovativeService/admin/InnovativeServiceDetail',
|
|
{
|
|
method: 'GET',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 用户报名创新服务 用户报名创新服务 POST /b2b2c/pbcInnovativeService/applyInnovativeService */
|
|
export async function applyInnovativeServiceUsingPost(
|
|
body: API.PbcInnovativeServiceApply,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultString_>('/b2b2c/pbcInnovativeService/applyInnovativeService', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 更改服务状态,就是那个按钮 GET /b2b2c/pbcInnovativeService/changeInnovativeServiceState */
|
|
export async function changeInnovativeServiceStateUsingGet(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.changeInnovativeServiceStateUsingGETParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultString_>(
|
|
'/b2b2c/pbcInnovativeService/changeInnovativeServiceState',
|
|
{
|
|
method: 'GET',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 后台查询报名信息 后台查询报名信息 POST /b2b2c/pbcInnovativeService/getApplyInnovativeService */
|
|
export async function applyInnovativeServicePageUsingPost(
|
|
body: API.PageVO,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultIPagePbcInnovativeServiceApply_>(
|
|
'/b2b2c/pbcInnovativeService/getApplyInnovativeService',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 前端使用获取可用的创新服务列表 列表 GET /b2b2c/pbcInnovativeService/getInnovativeServiceList */
|
|
export async function getInnovativeServiceListUsingGet(options?: { [key: string]: any }) {
|
|
return request<API.AjaxResultListPbcInnovativeService_>(
|
|
'/b2b2c/pbcInnovativeService/getInnovativeServiceList',
|
|
{
|
|
method: 'GET',
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 后台获取创新服务分页 分页 POST /b2b2c/pbcInnovativeService/getInnovativeServicePage */
|
|
export async function getInnovativeServicePageUsingPost(
|
|
body: API.PbcInnovativeService_,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultIPagePbcInnovativeService_>(
|
|
'/b2b2c/pbcInnovativeService/getInnovativeServicePage',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 前端获取创新服务分页 分页 POST /b2b2c/pbcInnovativeService/getInnovativeServicePageForFront */
|
|
export async function getInnovativeServicePageForFrontUsingPost(
|
|
body: API.PbcInnovativeService_,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultIPagePbcInnovativeService_>(
|
|
'/b2b2c/pbcInnovativeService/getInnovativeServicePageForFront',
|
|
{
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'application/json',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 前端根据id获取创新服务详情 前端 GET /b2b2c/pbcInnovativeService/InnovativeServiceDetail */
|
|
export async function innovativeServiceDetailUsingGet(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.innovativeServiceDetailUsingGETParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultPbcInnovativeService_>(
|
|
'/b2b2c/pbcInnovativeService/InnovativeServiceDetail',
|
|
{
|
|
method: 'GET',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|
|
|
|
/** 当前用户是否预约服务 当前用户是否预约服务 POST /b2b2c/pbcInnovativeService/isApplyInnovativeService */
|
|
export async function isApplyInnovativeServiceUsingPost(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.isApplyInnovativeServiceUsingPOSTParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultBoolean_>('/b2b2c/pbcInnovativeService/isApplyInnovativeService', {
|
|
method: 'POST',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 后台根据id删除单个服务详情 GET /b2b2c/pbcInnovativeService/removeInnovativeService */
|
|
export async function removeInnovativeServiceUsingGet(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.removeInnovativeServiceUsingGETParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<API.AjaxResultString_>('/b2b2c/pbcInnovativeService/removeInnovativeService', {
|
|
method: 'GET',
|
|
params: {
|
|
...params,
|
|
},
|
|
...(options || {}),
|
|
});
|
|
}
|