Appearance
查询客勤关系 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/customers/relationships/paginate | POST | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| page | integer,min:1,max:100 | 页码必须为正整数 |
| page_size | integer,min:5,max:1000 | 每页数量必须为正整数 |
| business_opportunity_id | string,size:24 | trans:validate.BO_NOT_FOUND |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | string | UUID | ID |
| businessOpportunityId | string | 675143 | 商机ID |
| customerId | int | 1 | 客户ID |
| customerEmployeeId | int | 3 | 客户员工ID |
| customerEmployeeName | string | 张三 | 客户员工姓名 |
| relationship | string | 紧密 | 合作关系 |
| attitude | string | 好 | 客户态度 |
| createdBy | int | 4 | 创建人ID |
| createdByName | string | 张三 | 创建人姓名 |
TypeScript Result Example:
TypeScript
interface Result {
/** ID */
id: string;
/** 商机ID */
businessOpportunityId: string;
/** 客户ID */
customerId: number;
/** 客户员工ID */
customerEmployeeId: number;
/** 客户员工姓名 */
customerEmployeeName: string;
/** 合作关系 */
relationship: string;
/** 客户态度 */
attitude: string;
/** 创建人ID */
createdBy: number;
/** 创建人姓名 */
createdByName: string;
}