|
|
|
@ -201,6 +201,10 @@ class RoomController extends GetxController with WidgetsBindingObserver { |
|
|
|
SmartDialog.showToast(response.data.message); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!response.data.data['success']) { |
|
|
|
SmartDialog.showToast('积分不足'); |
|
|
|
return; |
|
|
|
} |
|
|
|
currentRole = role; |
|
|
|
if (role == CurrentRole.maleAudience || |
|
|
|
role == CurrentRole.femaleAudience) { |
|
|
|
|