docs: document CRM product as mp webview module.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-15 10:05:06 +08:00
1 parent 0b0ecf2517
commit 7297db1da1
1 file changed
+8 -1
+8 -1
View File
@@ -2,7 +2,7 @@
后续管理端业务进入微信小程序时,**只加 H5 路由与工作台入口**,不要再复制鉴权、登录注入或第二个 `web-view` 页。
权威决策见 `docs/superpowers/specs/2026-09-14-mp-webview-transport-plan-design.md`。首发实现:运输计划 `/#/m/pl/plan`。
权威决策见 `docs/superpowers/specs/2026-09-14-mp-webview-transport-plan-design.md`。已落地:运输计划 `/#/m/pl/plan`、CRM 产品 `/#/m/crm/product`。
## 已有骨架(不要新建)
@@ -31,6 +31,13 @@
- 工作台 code `pl-plan-webview`,perms `mini:pl:plan:manage`
- 与原生现场页 `pages/pl/transport-plan/*`(`mini:pl:transportPlan:list`)并存,不要混名
## CRM 产品对照
- 列表 `/m/crm/product`,详情 `/:id`,表单 `/new` `/:id/edit`,分类 `/categories`
- 工作台 code `crm-product-webview`,perms `mini:crm:product:list`
- 业务 API:现有 `/web/crm/products/*`、`/web/crm/product-categories/*`
- 不做:导入/导出/批量上下架
## 回归清单
- ticket 第二次 exchange 失败