wupengfei
2 天以前 e719d76f10d8b8b3a95437cd5f37458f36bb4abb
src/services/api/standardService.ts
@@ -17,6 +17,60 @@
  });
}
/** 查询标准订单服务详情 GET /api/flexjob/standardService/getOpenStandardService */
export async function getOpenStandardService(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetOpenStandardServiceParams,
  options?: API.RequestConfig
) {
  return request<API.GetStandardServiceQueryResult>(
    '/api/flexjob/standardService/getOpenStandardService',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 查询开放标准订单服务分页列表 POST /api/flexjob/standardService/getOpenStandardServiceList */
export async function getOpenStandardServiceList(
  body: API.GetOpenStandardServiceListQuery,
  options?: API.RequestConfig
) {
  return request<API.GetStandardServicesQueryResultItem[]>(
    '/api/flexjob/standardService/getOpenStandardServiceList',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 查询开放标准订单服务分页列表 POST /api/flexjob/standardService/getOpenStandardServices */
export async function getOpenStandardServices(
  body: API.GetOpenStandardServicesQuery,
  options?: API.RequestConfig
) {
  return request<API.GetStandardServicesQueryResult>(
    '/api/flexjob/standardService/getOpenStandardServices',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 查询标准订单服务详情 GET /api/flexjob/standardService/getStandardService */
export async function getStandardService(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)