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;