|  |  |  | 
|---|
|  |  |  | // @ts-ignore | 
|---|
|  |  |  | import { request } from '@/utils/request'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 一步出单 POST /api/TaiPing/Proposal */ | 
|---|
|  |  |  | export async function proposal(body: API.ProposalInput, options?: API.RequestConfig) { | 
|---|
|  |  |  | return request<API.ProposalOutput>('/api/TaiPing/Proposal', { | 
|---|
|  |  |  | method: 'POST', | 
|---|
|  |  |  | headers: { | 
|---|
|  |  |  | 'Content-Type': 'application/json', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: body, | 
|---|
|  |  |  | ...(options || {}), | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 太平保险承保成功通知 POST /api/TaiPing/Success */ | 
|---|
|  |  |  | export async function success(body: Record<string, any>, options?: API.RequestConfig) { | 
|---|
|  |  |  | return request<any>('/api/TaiPing/Success', { | 
|---|