zhengyiming
8 天以前 05ea33089221534b180c978e35f2336688b44dc1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 一步出单 POST /api/TaiPing/Proposal */
export async function proposal(body: API.ProposalInput, options?: API.RequestConfig) {
  return request<API.ProposalResponseData>('/api/TaiPing/Proposal', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 太平保险承保成功通知 POST /api/TaiPing/Success */
export async function success(body: string, options?: API.RequestConfig) {
  return request<string>('/api/TaiPing/Success', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}