huxiaoqiang 4 tahun lalu
induk
melakukan
d38e3a2f2a

+ 2 - 1
lib/my_tools/daily_red_packet/daily_red_packet.dart

@@ -32,10 +32,11 @@ class DailyRedPacketTool {
             ActivityBeanEntity().fromJson(json.decode(response.toString()));
         if (entity.data.isNotEmpty) {
           dailyRedPacket = entity.data[0];
-          // EventBus().emit('showRP');
+
           if(!dailyRedPacket.valid){
             return;
           }
+          // EventBus().emit('showRP');
           try {
             String lastShowTime = MyCookie().prefs.get('dailyRedPacket');
             DateTime dateTime = DateTime.now();

+ 2 - 2
lib/my_tools/my_cookie.dart

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

+ 1 - 1
pubspec.yaml

@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
 # Read more about iOS versioning at
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 1.1.15+1
+version: 1.1.16+1
 
 environment:
   sdk: ">=2.7.0 <3.0.0"