=== 方案变更 === - 全树基础价: 17830 → 18870 USDT - 每份价格: 3566 → 1887 USDT - 合并阈值: 5 份 → 10 份 === 后端改动 (planting-service) === 1. pre-planting-right-amounts.ts: - PRE_PLANTING_PRICE_PER_PORTION: 3566 → 1887 - PRE_PLANTING_PORTIONS_PER_TREE: 5 → 10 - 10类权益金额按 floor(整棵树/10) 重算,余数归 HQ_BASE_FEE(319) 2. pre-planting-merge.aggregate.ts: - 合并校验从硬编码 5 改为引用 PRE_PLANTING_PORTIONS_PER_TREE 常量 3. purchase-pre-planting.dto.ts: - portionCount @Max(5) → @Max(10) 4. pre-planting-application.service.ts: - 加价补贴计算 /5 → /PRE_PLANTING_PORTIONS_PER_TREE - 错误文案引用常量,消除硬编码 === 前端改动 (mobile-app) === 1. pre_planting_purchase_page.dart: 默认价格、份数、协议文本(1/10、4%) 2. pre_planting_position_page.dart: _portionsPerTree 5→10 3. pre_planting_merge_detail_page.dart: 总价值计算和单份显示金额 4. tree_pricing_service.dart: fallback 默认值 5. pre_planting_service.dart: JSON 解析 fallback 默认值 6. 各文件注释同步更新 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| pre_planting_merge_detail_page.dart | ||
| pre_planting_merge_signing_page.dart | ||
| pre_planting_position_page.dart | ||
| pre_planting_purchase_page.dart | ||