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>
1.3 KiB
1.3 KiB
ECR-009
Title: 运营商业加深 Ops-D(订单筛选 · 展示价 · 退款只读)
Status: Approved
Date: 2026-08-07
Approved: 2026-08-07(Human Goal → LOOP-RUN-002 supervised)
Change Level: L2
Change
- Active Spec:
.ai/product/feature-spec/ops-commerce.md - migration
000015_ops_commerce:orders.refund_status+membership_plan_prices GET /api/v1/admin/orders增加 query 筛选GET|PUT /api/v1/admin/membership/plan-prices- admin-h5:Orders 筛选 + Pricing 页
- 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