Commit 60bd3cbc by 王雷

更新api-doc

parent 4286be77
Showing with 3 additions and 1 deletions
# partner-mp 接口说明文档
# partner-mp 接口说明文档
......@@ -28,6 +28,7 @@
| 🔴新提需求 | `my_product_list` | 前端新增分页(`page`/`page_size` 请求,`total`/`page` 响应)并接入滚动加载 | 四 |
| 🔴新提需求 | `my_product_list` | 视觉稿卡片有"主推"角标,接口无对应字段,前端`MyProductItem` 已加 `is_recommend?: boolean` 可选字段兜底(无值不显示角标) | 四 |
| 🔴待确认 | `my_product_list` | `rate_desc`(如"5%返佣")疑似写死文案,而 `my_product_detail` 的返佣方式实际由 `fee_type`+`fee_per`/`fee_amount` 动态决定,两者口径可能矛盾,需后端确认 | 四 |
| 📝 后端已支持,前端未接入 | `opportunity_list` | 后端修改 `partner_opportunity_list` 时顺带给对接人视角的 `opportunity_list` 也新增了同口径 `status_count`;前端代码尚未读取/展示该字段,待该页面改版时再接入 | §4.2 |
| | | | |
---
......@@ -321,6 +322,7 @@ contactor_poster_template, partner_land_page, customer_land_page
- 建议请求字段:`status`(跟进中/暂时挂起/已成单/已作废)、`product_ids`(我负责的产品,多选)、`source`(商机来源)、`page/page_size`
- 建议响应字段:`customer_name, customer_mobile, product_name, status, partner_name, admin_name, source, create_time, update_time, hold_reason`
- **是否可复用**:与「三、3.4」合伙人视角的商机列表**建议是同一张表**,区别只是查询条件里的角色范围不同(合伙人查"我提交的",对接人查"分配给我的")
- **📝 2026-07-08 后端已支持,前端未接入**`opportunity_list`[opportunity/request.ts](../src/pages/subpackages/opportunity/request.ts),即上方"建议新增"实际已实现的对接人视角商机列表)响应新增了 `status_count` 对象,口径与「3.4」`partner_opportunity_list``status_count` 一致(`all`/`in_progress`/`"5"`/`"6"`,按 `contactor_uid` + 现有筛选条件过滤、不受本次 `status` 参数影响)。前端代码尚未读取/展示该字段(04·P2 商机列表页 tab 计数暂未在本轮范围内),待后续该页面改版时再接入。
#### 【建议新增】商机详情
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment