Commit 73c7ed48fe38e10bc6d13203272ec59cde57bd12
1 parent
ec1a7d9e
no message
Showing
3 changed files
with
16 additions
and
2 deletions
CNLiveEnvironment.podspec
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| ... | ... | @@ -39,6 +39,8 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { |
| 39 | 39 | @property (nonatomic, copy, readonly) NSString *kAPI_Report; |
| 40 | 40 | @property (nonatomic, copy, readonly) NSString *kAPI_OpenApi2; |
| 41 | 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 | 45 | @property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述 |
| 44 | 46 | @property (nonatomic, copy, readonly) NSString *bundleId; // BundleId | ... | ... |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| ... | ... | @@ -24,6 +24,8 @@ |
| 24 | 24 | @property (nonatomic, copy, readwrite) NSString *kAPI_Report; |
| 25 | 25 | @property (nonatomic, copy, readwrite) NSString *kAPI_OpenApi2; |
| 26 | 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 | 30 | @property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述 |
| 29 | 31 | @property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId |
| ... | ... | @@ -152,7 +154,9 @@ static CNLiveEnvironmentManager *_instance = nil; |
| 152 | 154 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 153 | 155 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 154 | 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 | 160 | manager.environmentDesc = @"测试企业版"; |
| 157 | 161 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; |
| 158 | 162 | |
| ... | ... | @@ -231,6 +235,8 @@ static CNLiveEnvironmentManager *_instance = nil; |
| 231 | 235 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 232 | 236 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 233 | 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 | 241 | manager.environmentDesc = @"正式企业版"; |
| 236 | 242 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; |
| ... | ... | @@ -310,6 +316,8 @@ static CNLiveEnvironmentManager *_instance = nil; |
| 310 | 316 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 311 | 317 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 312 | 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 | 322 | manager.environmentDesc = @"测试商店版"; |
| 315 | 323 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| ... | ... | @@ -391,6 +399,8 @@ static CNLiveEnvironmentManager *_instance = nil; |
| 391 | 399 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 392 | 400 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 393 | 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 | 405 | manager.environmentDesc = @"正式商店版"; |
| 396 | 406 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; |
| ... | ... | @@ -471,6 +481,8 @@ static CNLiveEnvironmentManager *_instance = nil; |
| 471 | 481 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 472 | 482 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 473 | 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 | 487 | manager.environmentDesc = @"测试TestFlight版"; |
| 476 | 488 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | ... | ... |