Blame view

lib/common/request/basic_config.dart 382 Bytes
3f45a30f   吴启风   feat:集成友盟APM(flut...
1
  import 'package:flutter/foundation.dart';
f6c73562   吴启风   feat:修改环境变量为生产环境
2
  
50c66ad6   liangchengyou   feat:开发环境配置文件
3
  class BasicConfig {
18699a34   Key   fixed: 客服手机,手机规则教研
4
5
    static bool isTestDev = !isEnvProd();
    //static bool isTestDev = false;
f6c73562   吴启风   feat:修改环境变量为生产环境
6
  
18699a34   Key   fixed: 客服手机,手机规则教研
7
8
9
10
11
12
13
14
15
    // 暂时未启用
    static bool isEnvProd() {
      if (kReleaseMode) {
        debugPrint("dart.vm.product-现在是release环境.");
      } else {
        debugPrint("dart.vm.product-现在是debug环境.");
      }
      return kReleaseMode;
    }
795acc7e   Key   feat: aliyun oss ...
16
  }