From c467d2e31242df64ca56da64e0f877d015cef9d7 Mon Sep 17 00:00:00 2001 From: ZHR007 Date: Tue, 2 Dec 2025 14:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=A8=98=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/controller/setting/spread_controller.dart | 1 + lib/model/mine/rose_data.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/controller/setting/spread_controller.dart b/lib/controller/setting/spread_controller.dart index f4ff470..6f5e29d 100644 --- a/lib/controller/setting/spread_controller.dart +++ b/lib/controller/setting/spread_controller.dart @@ -118,6 +118,7 @@ class SpreadController extends GetxController with WidgetsBindingObserver { } else { countdownSeconds.value = 0; GlobalData().userData!.matchmakerFlag = true; + GlobalData().userData!.matchmakerType = roseList[activePay.value].subCategory; Get.back(result: 1); } } diff --git a/lib/model/mine/rose_data.dart b/lib/model/mine/rose_data.dart index 1e0cf62..a7fee3a 100644 --- a/lib/model/mine/rose_data.dart +++ b/lib/model/mine/rose_data.dart @@ -2,7 +2,7 @@ class RoseData { String? productId; String? productSpecId; num? mainCategory; - num? subCategory; + int? subCategory; String? productTitle; String? productDesc; String? detailDesc;