Commit 73c7ed48fe38e10bc6d13203272ec59cde57bd12
1 parent
ec1a7d9e
no message
Showing
3 changed files
with
16 additions
and
2 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.2.9' | 11 | + s.version = '0.3.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/CNLiveEnvironmentManager.h
| @@ -39,6 +39,8 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | @@ -39,6 +39,8 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | ||
| 39 | @property (nonatomic, copy, readonly) NSString *kAPI_Report; | 39 | @property (nonatomic, copy, readonly) NSString *kAPI_Report; |
| 40 | @property (nonatomic, copy, readonly) NSString *kAPI_OpenApi2; | 40 | @property (nonatomic, copy, readonly) NSString *kAPI_OpenApi2; |
| 41 | @property (nonatomic, copy, readonly) NSString *kAPI_Classify; | 41 | @property (nonatomic, copy, readonly) NSString *kAPI_Classify; |
| 42 | +@property (nonatomic, copy, readonly) NSString *kAPI_Managemall; | ||
| 43 | +@property (nonatomic, copy, readonly) NSString *kAPI_Manageshop; | ||
| 42 | 44 | ||
| 43 | @property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述 | 45 | @property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述 |
| 44 | @property (nonatomic, copy, readonly) NSString *bundleId; // BundleId | 46 | @property (nonatomic, copy, readonly) NSString *bundleId; // BundleId |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| @@ -24,6 +24,8 @@ | @@ -24,6 +24,8 @@ | ||
| 24 | @property (nonatomic, copy, readwrite) NSString *kAPI_Report; | 24 | @property (nonatomic, copy, readwrite) NSString *kAPI_Report; |
| 25 | @property (nonatomic, copy, readwrite) NSString *kAPI_OpenApi2; | 25 | @property (nonatomic, copy, readwrite) NSString *kAPI_OpenApi2; |
| 26 | @property (nonatomic, copy, readwrite) NSString *kAPI_Classify; | 26 | @property (nonatomic, copy, readwrite) NSString *kAPI_Classify; |
| 27 | +@property (nonatomic, copy, readwrite) NSString *kAPI_Managemall; | ||
| 28 | +@property (nonatomic, copy, readwrite) NSString *kAPI_Manageshop; | ||
| 27 | 29 | ||
| 28 | @property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述 | 30 | @property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述 |
| 29 | @property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId | 31 | @property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId |
| @@ -152,7 +154,9 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -152,7 +154,9 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 152 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 154 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 153 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 155 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 154 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; | 156 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; |
| 155 | - | 157 | + manager.kAPI_Managemall = @"https://wjjshop.cnlive.com"; |
| 158 | + manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; | ||
| 159 | + | ||
| 156 | manager.environmentDesc = @"测试企业版"; | 160 | manager.environmentDesc = @"测试企业版"; |
| 157 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; | 161 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; |
| 158 | 162 | ||
| @@ -231,6 +235,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -231,6 +235,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 231 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 235 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 232 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 236 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 233 | manager.kAPI_Classify = @"http://cms.cnlive.com:8768"; | 237 | manager.kAPI_Classify = @"http://cms.cnlive.com:8768"; |
| 238 | + manager.kAPI_Managemall = @"https://managemall.cnlive.com"; | ||
| 239 | + manager.kAPI_Manageshop = @"https://manageshop.cnlive.com"; | ||
| 234 | 240 | ||
| 235 | manager.environmentDesc = @"正式企业版"; | 241 | manager.environmentDesc = @"正式企业版"; |
| 236 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; | 242 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; |
| @@ -310,6 +316,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -310,6 +316,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 310 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 316 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 311 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 317 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 312 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; | 318 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; |
| 319 | + manager.kAPI_Managemall = @"https://wjjshop.cnlive.com"; | ||
| 320 | + manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; | ||
| 313 | 321 | ||
| 314 | manager.environmentDesc = @"测试商店版"; | 322 | manager.environmentDesc = @"测试商店版"; |
| 315 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 323 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| @@ -391,6 +399,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -391,6 +399,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 391 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 399 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 392 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 400 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 393 | manager.kAPI_Classify = @"http://cms.cnlive.com:8768"; | 401 | manager.kAPI_Classify = @"http://cms.cnlive.com:8768"; |
| 402 | + manager.kAPI_Managemall = @"https://managemall.cnlive.com"; | ||
| 403 | + manager.kAPI_Manageshop = @"https://manageshop.cnlive.com"; | ||
| 394 | 404 | ||
| 395 | manager.environmentDesc = @"正式商店版"; | 405 | manager.environmentDesc = @"正式商店版"; |
| 396 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; | 406 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; |
| @@ -471,6 +481,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -471,6 +481,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 471 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 481 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 472 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 482 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 473 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; | 483 | manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768"; |
| 484 | + manager.kAPI_Managemall = @"https://wjjshop.cnlive.com"; | ||
| 485 | + manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; | ||
| 474 | 486 | ||
| 475 | manager.environmentDesc = @"测试TestFlight版"; | 487 | manager.environmentDesc = @"测试TestFlight版"; |
| 476 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 488 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |