Files
digital-psychology/docs/ECR/ECR-009-ops-commerce.md
T
jackyu66gitandCursor ca3b13554c feat(ECR-009): Ops-D order filters, plan display prices, refund status
LOOP-RUN-002 sample: admin order multi-filter, membership display
price catalog, read-only refund_status. No real payment or RBAC.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 02:45:32 +08:00

50 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ECR-009
**Title:** 运营商业加深 Ops-D(订单筛选 · 展示价 · 退款只读)
**Status:** Approved
**Date:** 2026-08-07
**Approved:** 2026-08-07Human Goal → LOOP-RUN-002 supervised
**Change Level:** L2
## Change
1. Active Spec`.ai/product/feature-spec/ops-commerce.md`
2. migration `000015_ops_commerce``orders.refund_status` + `membership_plan_prices`
3. `GET /api/v1/admin/orders` 增加 query 筛选
4. `GET|PUT /api/v1/admin/membership/plan-prices`
5. admin-h5Orders 筛选 + Pricing 页
6. OpenAPI · TRACEABILITY · TEST_REPORT · CODE_REVIEW
## Motivation
Ops-A 订单列表无筛选;展示价写死;无退款状态可见性。
## Scope
### Allowed
- 上列 Spec / migration / admin API / admin-h5
- 审计(改价写 audit
### Forbidden
- 真支付 · 退款执行 API · RBAC · UGC · 改 ESS
## Risk
| Risk | Mitigation |
|------|------------|
| 误改历史订单金额 | 只改展示价表,不 UPDATE orders.amount |
| 筛选扫全表 | 限 limit≤100;索引 created_at/status |
## Acceptance Criteria
- [ ] 筛选与 refund_status
- [ ] 展示价 GET/PUT
- [ ] integration + build
- [ ] Loop artifacts + Gate
## Trace
Spec `ops-commerce` · BD-2026-009 · LOOP-RUN-002