zhengyiming
7 天以前 a0d8d4efcc810a223f5c7eda41126b7532fdad7c
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
) {
  return request<string>('/api/TaiPing/Success', {
export async function success(body: Record<string, any>, options?: API.RequestConfig) {
  return request<any>('/api/TaiPing/Success', {
    method: 'POST',
    params: {
      ...params,
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}