Appearance
获取商机竞争对手列表 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/competitors/paginate | POST | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| business_opportunity_id | string,size:24 | trans:validate.BO_NOT_FOUND |
| page | integer,min:1,max:100 | 页码必须为正整数 |
| page_size | integer,min:5,max:1000 | 每页数量必须为正整数 |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | string | uuid | 编号 |
| businessOpportunityId | string | fd8sc2 | 编号 |
| si | string | 华为 | 竞争对手 |
| brand | string | 魅族 | 品牌 |
| managerPerson | string | 张三 | 负责人 |
| customerServiceSupportPoint | string | 服务良好 | 客勤支持点 |
| initiator | enum | Initiator | 牵头方 |
| isSuperior | bool | true | 是否优势 |
| createdAt | string | 2024-12-12 20:27:00 |
TypeScript Result Example:
TypeScript
interface Result {
/** 编号 */
id: string;
/** 编号 */
businessOpportunityId: string;
/** 竞争对手 */
si: string;
/** 品牌 */
brand: string;
/** 负责人 */
managerPerson: string;
/** 客勤支持点 */
customerServiceSupportPoint: string;
/** 牵头方 */
initiator: ResultInitiator;
/** 是否优势 */
isSuperior: any;
/** */
createdAt: string;
}
enum ResultInitiator {
/** 品牌 */
BRAND = "BRAND",
/** 代理 */
AGENT = "AGENT"
}Enums
Initiator
| Const | Description |
|---|---|
| BRAND | 品牌 |
| AGENT | 代理 |