Appearance
阶段变更 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/{id}/stage/ | PUT | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| id | string,size:24 | trans:validate.BO_NOT_FOUND |
| stageId | string | 必须是有效的阶段 |
| participants | array,min:1 | 参与人员字段错误 |
| date | date_format:Y-m-d | 日期字段格式错误 |
| outcome | string | 成果字段必填 |
| problems | string | 问题字段必填 |
| action_items | string | 下一步字段必填 |
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;
}