超管后台 - 项目管理详情增加字段符合触客宝要求
This commit is contained in:
@@ -12,25 +12,11 @@ export interface Customer {
|
||||
region: string;
|
||||
tags: string[];
|
||||
source: string;
|
||||
projectName: string;
|
||||
addTime: string | null;
|
||||
companyName: string;
|
||||
createTime: string;
|
||||
mobile: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 客户详情接口
|
||||
*/
|
||||
export interface CustomerDetail {
|
||||
source: string;
|
||||
addTime: string | null;
|
||||
projectName: string;
|
||||
avatar: string;
|
||||
nickname: string;
|
||||
region: string;
|
||||
gender: string;
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页响应数据类型
|
||||
*/
|
||||
@@ -62,11 +48,4 @@ export async function getTrafficPoolList(
|
||||
}
|
||||
|
||||
return apiRequest(`/trafficPool/list?${params.toString()}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取客户详情
|
||||
*/
|
||||
export async function getCustomerDetail(id: string): Promise<ApiResponse<CustomerDetail>> {
|
||||
return apiRequest(`/trafficPool/detail?id=${id}`);
|
||||
}
|
||||
Reference in New Issue
Block a user