=== 方案变更 === - 全树基础价: 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> |
||
|---|---|---|
| .. | ||
| .claude | ||
| android | ||
| assets | ||
| docs | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| scripts | ||
| test | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| CLAUDE.md | ||
| README.MD | ||
| analysis_options.yaml | ||
| flutter_android_update_guide.md | ||
| flutter_telemetry_solution.md | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| quickly.lottie | ||
| stickman.lottie | ||
README.MD
Create Flutter Framework
C:\Users\ph\Desktop\app>flutter create --org com.rwadurian rwa_android_app
Creating project rwa_android_app...
Resolving dependencies in `rwa_android_app`... (3.7s)
Downloading packages...
Got dependencies in `rwa_android_app`.
Wrote 130 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd rwa_android_app
$ flutter run
Your application code is in rwa_android_app\lib\main.dart.
rwa_android_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.