Appearance
获取员工选项 API
| Path | Method | Created At |
|---|---|---|
| /api/customers/departments/{customerId}/employees/options | GET | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| customerId | string,size:24 | trans:validate.CUSTOMER_NOT_FOUND |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | int | 1 | 选项值 |
| name | string | A | 选项名称 |
TypeScript Result Example:
TypeScript
interface Result {
/** 选项值 */
id: number;
/** 选项名称 */
name: string;
}