Appearance
创建商机 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/create | POST | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| name | string,max:64 | 商机名称不能为空,且长度不能超过64个字符 |
| customer_id | string,size:24 | 客户不存在 |
| industry_id | integer,min:0 | 行业不存在 |
| project_level | integer,min:0 | 项目等级字段错误 |
| area_code | 所选区域错误 | |
| project_type | integer,min:0 | 项目类型字段错误 |
| project_certainty | integer,min:0 | 项目把握度字段错误 |
| total_amount | decimal:0,2,min:0.0000 | 项目金额字段错误 |
| project_join_method | integer,min:0 | 项目加入方式字段错误 |
| estimated_signing_date | date_format:Y-m-d | 预计签署时间字段错误 |
| bid_time | date_format:Y-m-d | 投标时间字段错误 |
| sales_lead_id | integer,min:0 | 销售负责人字段错误 |
| tech_lead_id | integer,min:0 | 技术负责人字段错误 |
| is_direct_contract | App\Rules\BoolRule | 是否直签字段错误 |
| report_status | string,max:100 | 报备情况字段错误 |
Response
| Key | Type | Example | Comment |
|---|