|
|
@ -137,7 +137,6 @@ class SpreadController extends GetxController with WidgetsBindingObserver { |
|
|
roseList.value = result.data.data!.records; |
|
|
roseList.value = result.data.data!.records; |
|
|
} |
|
|
} |
|
|
final response = await _userApi.getChatStaticsInfo(); |
|
|
final response = await _userApi.getChatStaticsInfo(); |
|
|
print('canApply: 137'); |
|
|
|
|
|
if (response.data.isSuccess && response.data.data != null) { |
|
|
if (response.data.isSuccess && response.data.data != null) { |
|
|
final data = response.data.data!; |
|
|
final data = response.data.data!; |
|
|
if(roseList[activePay.value].liveDurationHours != null){ |
|
|
if(roseList[activePay.value].liveDurationHours != null){ |
|
|
@ -147,7 +146,6 @@ class SpreadController extends GetxController with WidgetsBindingObserver { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
print('canApply: $canApply'); |
|
|
|
|
|
if(matchmakerFlag.value){ |
|
|
if(matchmakerFlag.value){ |
|
|
final index = roseList.indexWhere((item) => item.subCategory == GlobalData().userData!.matchmakerType!); |
|
|
final index = roseList.indexWhere((item) => item.subCategory == GlobalData().userData!.matchmakerType!); |
|
|
enableIndex.value = index >= 0 ? index : 0; |
|
|
enableIndex.value = index >= 0 ? index : 0; |
|
|
|