Appearance
设置销售目标季度比例 API
| Path | Method | Created At |
|---|---|---|
| /api/sales-targets/quarter-ratio | POST | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| q1 | numeric,min:0 | Q1 比例必须大于等于0 |
| q2 | numeric,min:0 | Q2 比例必须大于等于0 |
| q3 | numeric,min:0 | Q3 比例必须大于等于0 |
| q4 | numeric,min:0 | Q4 比例必须大于等于0 |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| code | int | 0 | 编号:0表示成功,非0表示错误 |
| message | string | success | 成功为 success, 失败则错误消息 |
TypeScript Result Example:
TypeScript
interface Result {
/** 编号:0表示成功,非0表示错误 */
code: number;
/** 成功为 success, 失败则错误消息 */
message: string;
}