zhengyiming
7 天以前 c55c548308e6a1adef6670f8acf1ee5f57e77da6
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 || {}),
  });
}