Files
HTFX-CRM-Sales/services/customer/customer.ts
2025-07-07 16:05:18 +08:00

101 lines
1.9 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { UserLanguage } from '@/utils/const';
import { request } from '@/utils/request';
type queryCustomerParams = {
curr_page?: bigint;
page_size?: bigint;
/**
* 关键词搜索id,账号,邮箱,姓名)
*/
qcc_fuzzy_search?: string;
id?: bigint;
/**
* 邮箱
*/
email?: string;
/**
* 代表处
*/
org_name?: bigint;
/**
* 业务员
*/
salesman_name?: string;
/**
* 上级id
*/
superior_id?: bigint;
/**
* 上级
*/
superior_code?: string;
/**
* 上级姓名
*/
superior_name?: string;
/**
* IB用户组
*/
ib_user_group?: string;
/**
* 是否认证
*/
auth?: bigint;
/**
* 状态
*/
status?: bigint;
/**
* 手机
*/
phone?: string;
date_start?: string;
date_end?: string;
};
/**
* 查询客户列表
* GET /saleH5/customer/queryCustomerList
* 接口ID248627937
* 接口地址https://app.apifox.com/link/project/4728063/apis/api-248627937
*/
export function queryCustomerList(data: queryCustomerParams) {
return request({ url: '/api/saleH5/customer/queryCustomerList', method: 'GET', data });
}
/**
* 查询客户或者ib详情接口
* GET /saleH5/customer/getUserDetail
* 接口ID270679466
* 接口地址https://app.apifox.com/link/project/4728063/apis/api-270679466
*/
export function getUserDetail(data: {}) {
return request({ url: '/api/saleH5/customer/getUserDetail', method: 'GET', data });
}
/**
* 查询客户或者IB银行资料列表
* GET /saleH5/customer/queryBankList
* 接口ID270679529
* 接口地址https://app.apifox.com/link/project/4728063/apis/api-270679529
*/
export function queryBankList(data: {}) {
return request({ url: '/api/saleH5/customer/queryBankList', method: 'GET', data });
}