Commit f19caec1dd2edc7428fa41f2e9cde5c68a1285de
1 parent
82d8853a
no message
Showing
3 changed files
with
8 additions
and
6 deletions
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| ... | ... | @@ -36,9 +36,9 @@ typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) { |
| 36 | 36 | @property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述 |
| 37 | 37 | @property (nonatomic, copy, readonly) NSString *bundleId; // BundleId |
| 38 | 38 | |
| 39 | -@property (nonatomic, copy, readonly) NSString *appId; // App ID | |
| 40 | -@property (nonatomic, copy, readonly) NSString *appKey; // App Key | |
| 41 | -@property (nonatomic, copy, readonly) NSString *appSecret; // App Secret | |
| 39 | +@property (nonatomic, copy, readonly) NSString *appId; // AppID | |
| 40 | +@property (nonatomic, copy, readonly) NSString *appKey; // AppKey | |
| 41 | +@property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret | |
| 42 | 42 | |
| 43 | 43 | @property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字 |
| 44 | 44 | ... | ... |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| ... | ... | @@ -24,9 +24,9 @@ |
| 24 | 24 | @property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述 |
| 25 | 25 | @property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId |
| 26 | 26 | |
| 27 | -@property (nonatomic, copy, readwrite) NSString *appId; //App ID | |
| 28 | -@property (nonatomic, copy, readwrite) NSString *appKey; //App Key | |
| 29 | -@property (nonatomic, copy, readwrite) NSString *appSecret; //App Secret | |
| 27 | +@property (nonatomic, copy, readwrite) NSString *appId; //AppID | |
| 28 | +@property (nonatomic, copy, readwrite) NSString *appKey; //AppKey | |
| 29 | +@property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret | |
| 30 | 30 | |
| 31 | 31 | @property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 |
| 32 | 32 | ... | ... |
Example/CNLiveEnvironment/XWViewController.m
| ... | ... | @@ -21,10 +21,12 @@ |
| 21 | 21 | // Do any additional setup after loading the view, typically from a nib. |
| 22 | 22 | NSLog(@"%@",TIM_GetTokenUrl); |
| 23 | 23 | NSLog(@"%d",TestEnvironment); |
| 24 | + NSLog(@"%@",AppId); | |
| 24 | 25 | |
| 25 | 26 | [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore]; |
| 26 | 27 | NSLog(@"%@",TIM_GetTokenUrl); |
| 27 | 28 | NSLog(@"%d",TestEnvironment); |
| 29 | + NSLog(@"%@",AppId); | |
| 28 | 30 | |
| 29 | 31 | NSLog(@"%@",AppDownloadUrl); |
| 30 | 32 | ... | ... |