完善客户信息编辑
This commit is contained in:
@@ -18,6 +18,8 @@ import type {
|
||||
TongyishuGetResponse,
|
||||
InputTongyishuSignSubmit,
|
||||
TongyishuSignSubmitResponse,
|
||||
InputCustomerDetailEdit,
|
||||
CustomerDetailEditResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -156,3 +158,15 @@ export const submitTongyishuSign = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 客户信息编辑
|
||||
*/
|
||||
export const editCustomerDetail = (
|
||||
data: InputCustomerDetailEdit
|
||||
): Promise<CustomerDetailEditResponse> => {
|
||||
return request.post<CustomerDetailEditResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/customer-detail-edit`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user