|
|
@@ -207,8 +207,8 @@ class RechargeState extends State<Recharge> {
|
|
|
|
|
|
Result res = await HttpManager.get('systemVariable/get', data: {'name': "iosPayHide"});
|
|
|
|
|
|
- if (res.success && res.data != null && res.data == true && Platform.isIOS) {
|
|
|
- MyDialog.showDialog(context, 'ios充值暂未开发');
|
|
|
+ if (res.success && res.data != null && res.data == 'true' && Platform.isIOS) {
|
|
|
+ MyDialog.showDialog(context, 'ios充值暂未开放');
|
|
|
} else {
|
|
|
Navigator.push(context, CupertinoPageRoute(builder: (context) => ChoosePay(widget.type, chooseProduct)));
|
|
|
}
|