refactor: 重构模板叠加式编译产物
This commit is contained in:
1 parent
c46297b13b
commit
25d1fe983c
93 files changed
+870
-2467
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# booking 能力包
|
||||
|
||||
为需要"选择数量 + 自取/配送"下单流程的模板提供小程序页面。模板在 `template.json` 的
|
||||
`requiredCapabilities` 中声明 `booking` 后,`template:dev` 会把 `miniapp/` 叠加进产物。
|
||||
|
||||
- `miniapp/pages/booking`:下单页,提交到 `POST /customer/bookings`。
|
||||
- `miniapp/utils/booking-templates.js`:下单页文案。
|
||||
|
||||
当前后端仍使用核心 `Booking` 模型;把它迁移为独立 capability 是后续任务。
|
||||
Reference in new issue
Block a user