evan 4 yıl önce
ebeveyn
işleme
31538e66b3

+ 2 - 2
ios/Runner.xcodeproj/project.pbxproj

@@ -587,7 +587,7 @@
 				249021D3217E4FDB00AE95B9 /* Profile */,
 			);
 			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Debug;
+			defaultConfigurationName = Release;
 		};
 		97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
 			isa = XCConfigurationList;
@@ -597,7 +597,7 @@
 				249021D4217E4FDB00AE95B9 /* Profile */,
 			);
 			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Debug;
+			defaultConfigurationName = Release;
 		};
 /* End XCConfigurationList section */
 	};

+ 3 - 0
lib/main.dart

@@ -1,5 +1,6 @@
 import 'dart:async';
 import 'dart:convert';
+import 'dart:io';
 
 import 'package:amap_flutter_location/amap_flutter_location.dart';
 import 'package:bbyyy/beans/access_bean_entity.dart';
@@ -68,6 +69,8 @@ class ReceivedNotification {
 }
 
 Future<void> main() async {
+//  HttpOverrides.global = GlobalHttpOverrides();
+
   AMapFlutterLocation.setApiKey(
       "156e225e52517b76ac2222f035a9ce3e", "548414a843a2ec9c383e34341b8c84df");
 

+ 2 - 2
lib/my_tools/my_cookie.dart

@@ -22,8 +22,8 @@ class MyCookie {
   //工厂构造函数
   factory MyCookie() => _singleton;
 
- String server = '172.16.104.34';
-   // String server = 'bby.banghuo.net';
+// String server = '172.16.104.34';
+    String server = 'bby.banghuo.net';
 //  String server = '39.108.225.84';
   SharedPreferences prefs;
   PackageInfo packageInfo;

+ 3 - 2
lib/paegs/pay_page/pay_page.dart

@@ -305,8 +305,9 @@ class _PayPageState extends State<PayPage> with WidgetsBindingObserver {
                                           Expanded(
                                             child: GestureDetector(
                                               onTap: () {
-                                                RootPageView().bNIndex = 0;
-                                                MyTools().toPage(context, RootPage(), (then){});
+//                                                RootPageView().bNIndex = 0;
+//                                                MyTools().toPage(context, RootPage(), (then){});
+                                                Navigator.pop(context, status);
                                               },
                                               behavior:
                                                   HitTestBehavior.translucent,