Commit e141d718561f78ad01849bbe4c43886f6d3e8a96
1 parent
8b27b81d
完善DESKey
Showing
4 changed files
with
10 additions
and
8 deletions
CNLiveEnvironment.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveEnvironment' | 10 | s.name = 'CNLiveEnvironment' |
| 11 | - s.version = '0.4.9' | 11 | + s.version = '0.5.0' |
| 12 | s.summary = 'CNLiveEnvironment' | 12 | s.summary = 'CNLiveEnvironment' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveEnvironment/Classes/CNLiveEnvironment.h
| @@ -96,6 +96,8 @@ | @@ -96,6 +96,8 @@ | ||
| 96 | #define APPKey [CNLiveEnvironmentManager manager].appKey | 96 | #define APPKey [CNLiveEnvironmentManager manager].appKey |
| 97 | #define AppSecret [CNLiveEnvironmentManager manager].appSecret | 97 | #define AppSecret [CNLiveEnvironmentManager manager].appSecret |
| 98 | 98 | ||
| 99 | +#define AppDESKey [CNLiveEnvironmentManager manager].appDESKey | ||
| 100 | + | ||
| 99 | // 环境描述 | 101 | // 环境描述 |
| 100 | #define EnvironmentDesc [CNLiveEnvironmentManager manager].environmentDesc | 102 | #define EnvironmentDesc [CNLiveEnvironmentManager manager].environmentDesc |
| 101 | 103 |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| @@ -58,7 +58,7 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | @@ -58,7 +58,7 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | ||
| 58 | @property (nonatomic, copy, readonly) NSString *appId; // AppID | 58 | @property (nonatomic, copy, readonly) NSString *appId; // AppID |
| 59 | @property (nonatomic, copy, readonly) NSString *appKey; // AppKey | 59 | @property (nonatomic, copy, readonly) NSString *appKey; // AppKey |
| 60 | @property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret | 60 | @property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret |
| 61 | -@property (nonatomic, copy, readonly)NSString *DESKey;//DESKey | 61 | +@property (nonatomic, copy, readonly)NSString *appDESKey;//DESKey |
| 62 | 62 | ||
| 63 | @property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字 | 63 | @property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字 |
| 64 | 64 |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | @property (nonatomic, copy, readwrite) NSString *appId; //AppID | 41 | @property (nonatomic, copy, readwrite) NSString *appId; //AppID |
| 42 | @property (nonatomic, copy, readwrite) NSString *appKey; //AppKey | 42 | @property (nonatomic, copy, readwrite) NSString *appKey; //AppKey |
| 43 | @property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret | 43 | @property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret |
| 44 | -@property (nonatomic, copy, readwrite)NSString *DESKey; | 44 | +@property (nonatomic, copy, readwrite)NSString *appDESKey; |
| 45 | 45 | ||
| 46 | @property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 | 46 | @property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 |
| 47 | 47 | ||
| @@ -213,7 +213,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -213,7 +213,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 213 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; | 213 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; |
| 214 | 214 | ||
| 215 | manager.appId = @"802_jhbqccxw08"; | 215 | manager.appId = @"802_jhbqccxw08"; |
| 216 | - manager.DESKey = @"jtOV4Rcb"; | 216 | + manager.appDESKey = @"jtOV4Rcb"; |
| 217 | manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"; | 217 | manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"; |
| 218 | manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"; | 218 | manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"; |
| 219 | 219 | ||
| @@ -299,7 +299,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -299,7 +299,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 299 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; | 299 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; |
| 300 | 300 | ||
| 301 | manager.appId = @"769_jetja50p18"; | 301 | manager.appId = @"769_jetja50p18"; |
| 302 | - manager.DESKey = @"4raPGVKW"; | 302 | + manager.appDESKey = @"4raPGVKW"; |
| 303 | manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"; | 303 | manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"; |
| 304 | manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"; | 304 | manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"; |
| 305 | 305 | ||
| @@ -385,7 +385,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -385,7 +385,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 385 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 385 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| 386 | 386 | ||
| 387 | manager.appId = @"802_jhlqbq4475"; | 387 | manager.appId = @"802_jhlqbq4475"; |
| 388 | - manager.DESKey = @"JH2Jkg12"; | 388 | + manager.appDESKey = @"JH2Jkg12"; |
| 389 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; | 389 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; |
| 390 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; | 390 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; |
| 391 | 391 | ||
| @@ -473,7 +473,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -473,7 +473,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 473 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; | 473 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; |
| 474 | 474 | ||
| 475 | manager.appId = @"769_jetj7bq525"; | 475 | manager.appId = @"769_jetj7bq525"; |
| 476 | - manager.DESKey = @"IuSstKh2"; | 476 | + manager.appDESKey = @"IuSstKh2"; |
| 477 | manager.appKey = @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"; | 477 | manager.appKey = @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"; |
| 478 | manager.appSecret = @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"; | 478 | manager.appSecret = @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"; |
| 479 | 479 | ||
| @@ -560,7 +560,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -560,7 +560,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 560 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 560 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| 561 | 561 | ||
| 562 | manager.appId = @"802_jhlqbq4475"; | 562 | manager.appId = @"802_jhlqbq4475"; |
| 563 | - manager.DESKey = @"JH2Jkg12"; | 563 | + manager.appDESKey = @"JH2Jkg12"; |
| 564 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; | 564 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; |
| 565 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; | 565 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; |
| 566 | 566 |