fix:第一轮跑
This commit is contained in:
1 parent
e834ec7586
commit
33235f450b
56 files changed
+4357
-210
No files matched your search
@@ -7,6 +7,8 @@ class UmengConfig {
|
||||
'6a27b1f46f259537c7b616be'; // Default placeholder
|
||||
static String _iosAppKey = '6a27b24e6f259537c7b617a8'; // Default placeholder
|
||||
static String _androidPushSecret = 'xxx'; // Default placeholder
|
||||
static String _androidLoginSecret = '';
|
||||
static String _iosLoginSecret = '';
|
||||
|
||||
static Future<void> load() async {
|
||||
await dotenv.load(
|
||||
@@ -17,9 +19,14 @@ class UmengConfig {
|
||||
_iosAppKey = dotenv.env['UMENG_IOS_APP_KEY'] ?? _iosAppKey;
|
||||
_androidPushSecret =
|
||||
dotenv.env['UMENG_ANDROID_PUSH_SECRET'] ?? _androidPushSecret;
|
||||
_androidLoginSecret =
|
||||
dotenv.env['UMENG_ANDROID_LOGIN_SECRET'] ?? _androidLoginSecret;
|
||||
_iosLoginSecret = dotenv.env['UMENG_IOS_LOGIN_SECRET'] ?? _iosLoginSecret;
|
||||
}
|
||||
|
||||
static String get androidAppKey => _androidAppKey;
|
||||
static String get iosAppKey => _iosAppKey;
|
||||
static String get androidPushSecret => _androidPushSecret;
|
||||
static String get androidLoginSecret => _androidLoginSecret;
|
||||
static String get iosLoginSecret => _iosLoginSecret;
|
||||
}
|
||||
Reference in new issue
Block a user