添加获取挂账公司信息列表接口
This commit is contained in:
@@ -30,6 +30,8 @@ import type {
|
||||
PhysicalExamAddItemListResponse,
|
||||
InputAddItemCustomerInfo,
|
||||
AddItemCustomerInfoResponse,
|
||||
InputChannelCompanyInfo,
|
||||
ChannelCompanyInfoListResponse,
|
||||
InputPhysicalExamAddOrder,
|
||||
PhysicalExamQrcodeCreateResponse,
|
||||
InputOrderPaymentInfo,
|
||||
@@ -234,6 +236,18 @@ export const getAddItemCustomerInfo = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取挂账公司信息列表
|
||||
*/
|
||||
export const getChannelCompanyList = (
|
||||
data: InputChannelCompanyInfo = {}
|
||||
): Promise<ChannelCompanyInfoListResponse> => {
|
||||
return request.post<ChannelCompanyInfoListResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/channel-company-list`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* Native-生成扫码支付二维码
|
||||
*/
|
||||
|
||||
@@ -561,6 +561,30 @@ export interface OutputAddItemCustomerInfo {
|
||||
*/
|
||||
export type AddItemCustomerInfoResponse = CommonActionResult<OutputAddItemCustomerInfo>;
|
||||
|
||||
/**
|
||||
* 获取挂账公司信息列表入参
|
||||
*/
|
||||
export interface InputChannelCompanyInfo {
|
||||
// 空对象,无属性
|
||||
}
|
||||
|
||||
/**
|
||||
* 挂账公司信息列表出参
|
||||
*/
|
||||
export interface OutputChannelCompanyInfo {
|
||||
/** 公司ID */
|
||||
company_id: number;
|
||||
/** 公司名称 */
|
||||
company_name?: string | null;
|
||||
/** 拼音码 */
|
||||
pinyin?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取挂账公司信息列表响应
|
||||
*/
|
||||
export type ChannelCompanyInfoListResponse = CommonActionResult<OutputChannelCompanyInfo[]>;
|
||||
|
||||
/**
|
||||
* 体检加项支付记录入参(生成扫码支付二维码)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user