Commit f6186aad946d6900ea6009c1da5ed2e3dc681e6c

Authored by zhangxiaowen
1 parent c4f6a3d3

no message

CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
@@ -11,11 +11,12 @@ @@ -11,11 +11,12 @@
11 NS_ASSUME_NONNULL_BEGIN 11 NS_ASSUME_NONNULL_BEGIN
12 12
13 typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) { 13 typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) {
14 - CNLiveDebugInHouse = 0,//测试企业环境  
15 - CNLiveProductionInHouse = 1,//正式企业环境  
16 - CNLiveDebugAppStore = 2,//测试商店环境  
17 - CNLiveProductionAppStore = 3 //正式商店环境  
18 - 14 + CNLiveDebugInHouse = 0, //测试企业环境
  15 + CNLiveProductionInHouse = 1, //正式企业环境
  16 + CNLiveDebugAppStore = 2, //测试商店环境
  17 + CNLiveProductionAppStore = 3, //正式商店环境
  18 + CNLiveTestFlight = 4 //TestFlight环境
  19 +
19 }; 20 };
20 21
21 @interface CNLiveEnvironmentManager : NSObject 22 @interface CNLiveEnvironmentManager : NSObject
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
@@ -440,6 +440,79 @@ static CNLiveEnvironmentManager *_instance = nil; @@ -440,6 +440,79 @@ static CNLiveEnvironmentManager *_instance = nil;
440 } 440 }
441 break; 441 break;
442 442
  443 +#pragma mark - TestFlight环境
  444 + case CNLiveTestFlight://TestFlight环境
  445 + {
  446 + manager.isTestEnvironment = YES;
  447 +
  448 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  449 + manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com";
  450 +
  451 + manager.kAPI_Host = @"https://apiwjjtest.cnlive.com";
  452 + manager.kAPI_Contact = @"https://imtest.cnlive.com";
  453 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  454 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  455 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  456 + manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768";
  457 +
  458 + manager.environmentDesc = @"测试TestFlight版";
  459 + manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug";
  460 +
  461 + manager.appId = @"802_jhlqbq4475";
  462 + manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4";
  463 + manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2";
  464 +
  465 + manager.displayName = @"网家家TestFlight";
  466 +
  467 +#if DEBUG
  468 + manager.kIM_Cer_BusiId = 12450;
  469 +#else
  470 + manager.kIM_Cer_BusiId = 12451;
  471 +#endif
  472 + manager.kTIM_GetTokenUrl = @"https://imtest.cnlive.com/CnliveIM/notify/generateUserSign.action";
  473 +
  474 + manager.kGDApiKey = @"4b15525f4265edfed8dce1d02f08a893";
  475 + manager.kTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";
  476 +
  477 + manager.kBucketName = @"mam-wjjtest-802";
  478 + manager.kPhotoUrl = @"http://wjjtest.ys2.cnliveimg.com/";
  479 + manager.kMultipleCategory = 371;
  480 + manager.kWitnessMultipleCategory = 375;
  481 +
  482 + manager.kBDAppId = @"14435697";
  483 + manager.kBDAppKey = @"3LqIXy2AtXxrxyFM8N73QGYN";
  484 + manager.kBDSecret = @"EKZxZza8purqGHOmngkMi7awtZkm0lOW";
  485 +
  486 + manager.kBDMapAK = @"jjrZsIZYalD5IPOkjzCOOqkApKLtn8LW";
  487 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetAdd.debug";
  488 + manager.kBDMapServiceID = 213511;
  489 +
  490 + manager.kWeiChatAppId_Share = @"wxed528fc749b7ee88";
  491 + manager.kWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";
  492 +
  493 + manager.kQQShareAppId_Share = @"1106691520";
  494 + manager.kQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";
  495 +
  496 + manager.kWeiBoShareAppId_Share = @"1337575478";
  497 + manager.kWeiBoShareAppSecret_Share = @"1bff97cec7f760e64a37b2c6d6d7db86";
  498 + manager.kWeiBoShareAppKey_Share = @"3884700821";
  499 +
  500 + manager.kShareSDKAppId_Share = @"24e4abeaa92d8";
  501 + manager.kShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";
  502 +
  503 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetAdd.debug";
  504 +
  505 + manager.kWXAccount = @"wjj_app_test";
  506 + manager.kSdkAppId = @"1400052101";
  507 + manager.kSdkAccountType = @"27313";
  508 +
  509 + manager.kUMengAppKey = @"5d78575f0cafb255e0000672";
  510 +
  511 + manager.kNetAddUrlSchems = @"CNLiveNetAddTestUrlSchems";
  512 + manager.kNetAddUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems";
  513 +
  514 + }
  515 + break;
443 default: 516 default:
444 break; 517 break;
445 518