wupengfei
8 天以前 2a4aecd380fad4ccb1303be0526eabf56bd3d9a6
src/services/api/TaiPing.ts
@@ -15,16 +15,13 @@
}
/** 太平保险承保成功通知 POST /api/TaiPing/Success */
export async function success(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIsuccessParams,
  options?: API.RequestConfig
) {
export async function success(body: string, options?: API.RequestConfig) {
  return request<string>('/api/TaiPing/Success', {
    method: 'POST',
    params: {
      ...params,
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}