Appearance
获取详情 API
| Path | Method | Created At |
|---|---|---|
| /api/customers/suppliers/ | GET | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| id | string,size:24 | 厂商不存在 |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | string | 67735e | 厂商编号 |
| name | string | 浙江广铁 | 渠道名称 |
| agentLevel | string | 金牌代理 | 代理等级 |
| serviceLevel | string | 优秀 | 服务等级 |
| partnerRelationship | string | target | 合作关系 |
| employees | object_array | 员工列表 | |
| -> id | string | e8d2a | 编号 |
| -> name | string | 张三 | 姓名 |
| -> position | string | 主管 | 职务 |
| -> industry | string | 交通 | 负责行业或区域 |
| -> phone | string | 13930733521 | 联系方式 |
| string | username@domain.com | 邮箱 | |
| -> relationship | string | 冷漠 | 客情关系 |
| -> remark | string | 无 | 备注 |
| -> updatedBy | string | 马骝 | 更新人 |
| -> updatedAt | string | 2024-12-31 14:46:00 | 更新时间 |
| recommendationIndex | string | 1 | 推荐指数 |
| createdByName | string | 张三 | 创建人姓名 |
| createdAt | string | 2024-01-02 03:05:06 | 创建时间 |
TypeScript Result Example:
TypeScript
interface Employees {
/** 编号 */
id: string;
/** 姓名 */
name: string;
/** 职务 */
position: string;
/** 负责行业或区域 */
industry: string;
/** 联系方式 */
phone: string;
/** 邮箱 */
email: string;
/** 客情关系 */
relationship: string;
/** 备注 */
remark: string;
/** 更新人 */
updatedBy: string;
/** 更新时间 */
updatedAt: string;
}
interface Result {
/** 厂商编号 */
id: string;
/** 渠道名称 */
name: string;
/** 代理等级 */
agentLevel: string;
/** 服务等级 */
serviceLevel: string;
/** 合作关系 */
partnerRelationship: string;
/** 员工列表 */
employees: Employees[];
/** 推荐指数 */
recommendationIndex: string;
/** 创建人姓名 */
createdByName: string;
/** 创建时间 */
createdAt: string;
}