Commit f71e9125d4cb37dde4d98b7b042fa21cf686f0ec
Merge branch 'master' of http://bj.gitlab.cnlive.com/ios-team/CNLiveMateCode
Showing
1 changed file
with
2 additions
and
0 deletions
metaCode/Classes/Other/AppDelegate.swift
| @@ -10,6 +10,7 @@ import CNLiveRequestBastKit | @@ -10,6 +10,7 @@ import CNLiveRequestBastKit | ||
| 10 | import IQKeyboardManagerSwift | 10 | import IQKeyboardManagerSwift |
| 11 | import CNLiveShareToolKit | 11 | import CNLiveShareToolKit |
| 12 | //import RangersAPM | 12 | //import RangersAPM |
| 13 | +import CNLiveEnvironment | ||
| 13 | import CNLivePayCostModule | 14 | import CNLivePayCostModule |
| 14 | 15 | ||
| 15 | @main | 16 | @main |
| @@ -41,6 +42,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | @@ -41,6 +42,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | ||
| 41 | 42 | ||
| 42 | //设置APP环境 | 43 | //设置APP环境 |
| 43 | CNLiveMCEnvironmentManager.shared.setupEnvironment(environment: .production) | 44 | CNLiveMCEnvironmentManager.shared.setupEnvironment(environment: .production) |
| 45 | + CNLiveEnvironmentManager.setEnvironment(.productionAppStore) | ||
| 44 | 46 | ||
| 45 | window = UIWindow.init(frame: UIScreen.main.bounds) | 47 | window = UIWindow.init(frame: UIScreen.main.bounds) |
| 46 | window?.backgroundColor = KVCBackgroupColor | 48 | window?.backgroundColor = KVCBackgroupColor |