From c91bfa49526f3f3c09034695c4d6210af4d9f84a Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 22 Dec 2025 20:15:49 -0800 Subject: [PATCH] =?UTF-8?q?fix(mobile-app):=20=E4=BF=AE=E6=AD=A3=E8=AE=A4?= =?UTF-8?q?=E7=A7=8D=E4=BB=B7=E6=A0=BC=E4=B8=BA15831=20USDT/=E6=A3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与后台 planting-service 保持一致 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/mobile-app/lib/core/services/planting_service.dart | 2 +- .../planting/presentation/pages/planting_quantity_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/mobile-app/lib/core/services/planting_service.dart b/frontend/mobile-app/lib/core/services/planting_service.dart index 58c86250..64b026e4 100644 --- a/frontend/mobile-app/lib/core/services/planting_service.dart +++ b/frontend/mobile-app/lib/core/services/planting_service.dart @@ -100,7 +100,7 @@ class CreateOrderResponse { orderNo: json['orderNo'] ?? '', treeCount: json['treeCount'] ?? 0, totalAmount: (json['totalAmount'] ?? 0).toDouble(), - pricePerTree: (json['pricePerTree'] ?? 2199).toDouble(), + pricePerTree: (json['pricePerTree'] ?? 15831).toDouble(), ); } } diff --git a/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart b/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart index c08e3b0f..07d72ba4 100644 --- a/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart +++ b/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart @@ -17,7 +17,7 @@ class PlantingQuantityPage extends ConsumerStatefulWidget { class _PlantingQuantityPageState extends ConsumerState { /// 每棵树的价格 (USDT) - static const double _pricePerTree = 2199.0; + static const double _pricePerTree = 15831.0; /// 可用余额 (USDT) - 从 API 获取 double _availableBalance = 0.0;