v3计划内容上传

This commit is contained in:
2026-07-04 20:36:26 +08:00
parent def3ed5175
commit 743d242d52
23 changed files with 291 additions and 53 deletions
+2 -2
View File
@@ -120,8 +120,8 @@ Token 必须含 `actorType` + `actorId`(手册 §六 §1.5)。
// packages/domain
const benefitAmount = product.benefitAmount ?? product.price;
// 核销 PRD 上限 ¥500
if (amount <= 0 || amount > coupon.balance || amount > 500) throw ...
// V3 核销:直接核销按全部 ACTIVE 权益总余额;带单据核销按该单据可用金额
if (amount <= 0 || amount > allowedBalance) throw ...
// 订单 Tab
// all | pending_pay | pending_ship | pending_receive | completed