Files
memind_adm/docs/billing-acceptance.md
T
john f6bb02254e feat(billing): add formula A/B admin UI and subscription renew status
Expose dual metering formula editing with batch user assignment, show
auto-renew and pending-recharge states in subscriptions, and document
billing acceptance checks for production rollout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 08:45:43 +08:00

29 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.
# 计费赠金 / A-B 计量 / 包月补扣 — 业务验收清单
## 1. 新用户赠金
- [ ] 新注册用户钱包仅入账 **5 元**,流水备注为「新用户赠送」
- [ ] 余额消耗至 1 元以下时,**不再**出现「新用户低余额自动赠送」流水或站内通知
- [ ] 生产环境可设置 `H5_LOW_BALANCE_GIFT_AMOUNT_CENTS=0` 锁定关闭
## 2. 计量公式 A / B
- [ ] 管理后台「计费中心 → 计量公式」可分别编辑并保存公式 A、公式 B
- [ ] 修改公式 A 不影响已分配到公式 B 的用户扣费
- [ ] 批量分配可将用户划入 A 或 B,用户列表显示当前公式
- [ ] Portal 对话扣费在数秒内按用户所属公式生效(无需重启)
## 3. 包月自动续费补扣
- [ ] 到期且开启自动续费、余额不足:套餐过期降为免费,**自动续费标记保持开启**
- [ ] 订阅列表显示「待补扣」(已过期 + 自动续费开启)
- [ ] 用户充值后余额足够:自动扣款并恢复套餐,无需等待小时任务
- [ ] 小时任务对仍开启自动续费且已过期的订阅持续重试
## 发布顺序
1. Memind103 Portal 8081)— schema + 扣费/续费运行时
2. memind_adm5174 / 8085)— 管理后台 UI 与 API
发布前分别执行各仓库 `bash scripts/check-release-ready.sh`