feat(ECR-014): MembershipPlan 套餐配置并 Closed
membership_plans 表、admin 套餐页、Grant/CreateOrder 读表; Loop continuous 自动 Approve/Closed。Next:ECR-015 RedemptionCode。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Backend Design: ECR-014 MembershipPlan
|
||||
|
||||
| ID | BD-2026-014 |
|
||||
| ECR | ECR-014 |
|
||||
| Status | Approved |
|
||||
| Coding | Authorized(Loop) |
|
||||
| Change Level | L2 |
|
||||
| Risk | Low |
|
||||
|
||||
## Change Boundary
|
||||
|
||||
```text
|
||||
Domain: MembershipPlan
|
||||
App: admin + membership CreateOrder amount/days
|
||||
Infra: migration + repo
|
||||
API: /admin/membership-plans*
|
||||
Migration: YES
|
||||
Tests: integration
|
||||
```
|
||||
|
||||
## Rollback
|
||||
|
||||
down migration;回退硬编码 planDays/amount
|
||||
Reference in New Issue
Block a user