Commit 7969422dc79438ce8989676232153c96a65439b2
1 parent
312efa59
no message
Showing
2 changed files
with
6 additions
and
1 deletions
CNLiveEnvironment/Classes/CNLiveEnvironment.h
| @@ -52,6 +52,11 @@ | @@ -52,6 +52,11 @@ | ||
| 52 | #define BDAppKey [CNLiveEnvironmentManager manager].BDAppKey | 52 | #define BDAppKey [CNLiveEnvironmentManager manager].BDAppKey |
| 53 | #define BDSecret [CNLiveEnvironmentManager manager].BDSecret | 53 | #define BDSecret [CNLiveEnvironmentManager manager].BDSecret |
| 54 | 54 | ||
| 55 | +// 百度地图 | ||
| 56 | +#define BDMapAK [CNLiveEnvironmentManager manager].BDMapAK | ||
| 57 | +#define BDMapMCODE [CNLiveEnvironmentManager manager].BDMapMCODE | ||
| 58 | +#define BDMapServiceID [CNLiveEnvironmentManager manager].BDMapServiceID | ||
| 59 | + | ||
| 55 | // tingyun | 60 | // tingyun |
| 56 | #define TingYunAppKey [CNLiveEnvironmentManager manager].TingYunAppKey | 61 | #define TingYunAppKey [CNLiveEnvironmentManager manager].TingYunAppKey |
| 57 | 62 |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) { | @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) { | ||
| 93 | * @param isEnvironment 环境 | 93 | * @param isEnvironment 环境 |
| 94 | * @warning 必传参数 | 94 | * @warning 必传参数 |
| 95 | * 此方法环境默认为测试商店版,建议使用如下方法初始化. | 95 | * 此方法环境默认为测试商店版,建议使用如下方法初始化. |
| 96 | - 必须在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用 | 96 | + * 在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用 |
| 97 | */ | 97 | */ |
| 98 | + (void)setEnvironment:(CNLiveEnvironmentType)isEnvironment; | 98 | + (void)setEnvironment:(CNLiveEnvironmentType)isEnvironment; |
| 99 | 99 |