Commit 608e4e763947527d9195e80a3986ce3d8f2cdc30
1 parent
48d938a4
改为https
dwz.cnlive.com apps.pay.cnlive.com apiwjj.cnlive.comwjjh5test.cnlive.comwjjh5.cnlive.comwjj.ys1.cnliveimg.comcmstest.cnlive.comapi.cnlive.com cms.cnlive.com
Showing
3 changed files
with
23 additions
and
23 deletions
CNLiveEnvironment/Classes/CNLiveEnvironment.h
| @@ -27,12 +27,12 @@ | @@ -27,12 +27,12 @@ | ||
| 27 | #define NewHomePage [CNLiveEnvironmentManager manager].isNewHomePage | 27 | #define NewHomePage [CNLiveEnvironmentManager manager].isNewHomePage |
| 28 | 28 | ||
| 29 | // 下载Url | 29 | // 下载Url |
| 30 | -/** 正式@"http://apiwjj.cnlive.com/download/index.html" | ||
| 31 | - 测试@"http://apiwjj.cnlive.com/download/index.html"*/ | 30 | +/** 正式@"https://apiwjj.cnlive.com/download/index.html" |
| 31 | + 测试@"https://apiwjj.cnlive.com/download/index.html"*/ | ||
| 32 | #define AppDownloadUrl [CNLiveEnvironmentManager manager].kAppDownloadUrl | 32 | #define AppDownloadUrl [CNLiveEnvironmentManager manager].kAppDownloadUrl |
| 33 | 33 | ||
| 34 | -/** 正式@"http://wjjh5.cnlive.com" | ||
| 35 | - 测试@"http://wjjh5test.cnlive.com"*/ | 34 | +/** 正式@"https://wjjh5.cnlive.com" |
| 35 | + 测试@"https://wjjh5test.cnlive.com"*/ | ||
| 36 | #define WjjH5_Host [CNLiveEnvironmentManager manager].kWjjH5_Host | 36 | #define WjjH5_Host [CNLiveEnvironmentManager manager].kWjjH5_Host |
| 37 | 37 | ||
| 38 | /** 正式@"https://wjjh5.cnlive.com" | 38 | /** 正式@"https://wjjh5.cnlive.com" |
| @@ -59,8 +59,8 @@ | @@ -59,8 +59,8 @@ | ||
| 59 | 测试@"https://api.cnlive.com/open/api2"*/ | 59 | 测试@"https://api.cnlive.com/open/api2"*/ |
| 60 | #define API_OpenApi2 [CNLiveEnvironmentManager manager].kAPI_OpenApi2 | 60 | #define API_OpenApi2 [CNLiveEnvironmentManager manager].kAPI_OpenApi2 |
| 61 | 61 | ||
| 62 | -/** 正式@"http://cms.cnlive.com/api" 更改为 https://cms.cnlive.com/api | ||
| 63 | - 测试@"http://cmstest.cnlive.com/cms" 更改为 https://cmstest.cnlive.com */ | 62 | +/** 正式@"https://cms.cnlive.com/api" 更改为 https://cms.cnlive.com/api |
| 63 | + 测试@"https://cmstest.cnlive.com/cms" 更改为 https://cmstest.cnlive.com */ | ||
| 64 | #define API_Classify [CNLiveEnvironmentManager manager].kAPI_Classify | 64 | #define API_Classify [CNLiveEnvironmentManager manager].kAPI_Classify |
| 65 | 65 | ||
| 66 | /** 正式@"https://manageshop.cnlive.com" | 66 | /** 正式@"https://manageshop.cnlive.com" |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| @@ -191,9 +191,9 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -191,9 +191,9 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 191 | { | 191 | { |
| 192 | manager.isTestEnvironment = YES; | 192 | manager.isTestEnvironment = YES; |
| 193 | 193 | ||
| 194 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | 194 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 195 | 195 | ||
| 196 | - manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; | 196 | + manager.kWjjH5_Host = @"https://wjjh5test.cnlive.com"; |
| 197 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; | 197 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; |
| 198 | 198 | ||
| 199 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; | 199 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; |
| @@ -277,8 +277,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -277,8 +277,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 277 | { | 277 | { |
| 278 | manager.isTestEnvironment = NO; | 278 | manager.isTestEnvironment = NO; |
| 279 | 279 | ||
| 280 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 281 | - manager.kWjjH5_Host = @"http://wjjh5.cnlive.com"; | 280 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 281 | + manager.kWjjH5_Host = @"https://wjjh5.cnlive.com"; | ||
| 282 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; | 282 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; |
| 283 | 283 | ||
| 284 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; | 284 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; |
| @@ -362,7 +362,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -362,7 +362,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 362 | { | 362 | { |
| 363 | manager.isTestEnvironment = YES; | 363 | manager.isTestEnvironment = YES; |
| 364 | 364 | ||
| 365 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | 365 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 366 | manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; | 366 | manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; |
| 367 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; | 367 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; |
| 368 | 368 | ||
| @@ -449,8 +449,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -449,8 +449,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 449 | { | 449 | { |
| 450 | manager.isTestEnvironment = NO; | 450 | manager.isTestEnvironment = NO; |
| 451 | 451 | ||
| 452 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 453 | - manager.kWjjH5_Host = @"http://wjjh5.cnlive.com"; | 452 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 453 | + manager.kWjjH5_Host = @"https://wjjh5.cnlive.com"; | ||
| 454 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; | 454 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; |
| 455 | 455 | ||
| 456 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; | 456 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; |
| @@ -535,8 +535,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -535,8 +535,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 535 | { | 535 | { |
| 536 | manager.isTestEnvironment = YES; | 536 | manager.isTestEnvironment = YES; |
| 537 | 537 | ||
| 538 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 539 | - manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; | 538 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 539 | + manager.kWjjH5_Host = @"https://wjjh5test.cnlive.com"; | ||
| 540 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; | 540 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; |
| 541 | 541 | ||
| 542 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; | 542 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; |
| @@ -647,8 +647,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -647,8 +647,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 647 | { | 647 | { |
| 648 | manager.isTestEnvironment = YES; | 648 | manager.isTestEnvironment = YES; |
| 649 | 649 | ||
| 650 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 651 | - manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; | 650 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 651 | + manager.kWjjH5_Host = @"https://wjjh5test.cnlive.com"; | ||
| 652 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; | 652 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; |
| 653 | 653 | ||
| 654 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; | 654 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; |
| @@ -725,8 +725,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -725,8 +725,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 725 | { | 725 | { |
| 726 | manager.isTestEnvironment = NO; | 726 | manager.isTestEnvironment = NO; |
| 727 | 727 | ||
| 728 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 729 | - manager.kWjjH5_Host = @"http://wjjh5.cnlive.com"; | 728 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 729 | + manager.kWjjH5_Host = @"https://wjjh5.cnlive.com"; | ||
| 730 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; | 730 | manager.kWjjH5_Host_Https = @"https://wjjh5.cnlive.com"; |
| 731 | 731 | ||
| 732 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; | 732 | manager.kAPI_Host = @"https://apiwjj.cnlive.com"; |
| @@ -802,8 +802,8 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -802,8 +802,8 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 802 | { | 802 | { |
| 803 | manager.isTestEnvironment = YES; | 803 | manager.isTestEnvironment = YES; |
| 804 | 804 | ||
| 805 | - manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 806 | - manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com"; | 805 | + manager.kAppDownloadUrl = @"https://apiwjj.cnlive.com/download/index.html"; |
| 806 | + manager.kWjjH5_Host = @"https://wjjh5test.cnlive.com"; | ||
| 807 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; | 807 | manager.kWjjH5_Host_Https = @"https://wjjh5test.cnlive.com"; |
| 808 | 808 | ||
| 809 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; | 809 | manager.kAPI_Host = @"https://apiwjjtest.cnlive.com"; |
CNLiveEnvironment/Classes/CNLiveInterface.h
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | #define NetAddShareImgUrl cn_WjjH5_Host(@"/static/logo.png") | 30 | #define NetAddShareImgUrl cn_WjjH5_Host(@"/static/logo.png") |
| 31 | 31 | ||
| 32 | // 网家家H5压缩后短连接 | 32 | // 网家家H5压缩后短连接 |
| 33 | -#define WjjH5Short_Host @"http://dwz.cnlive.com" | 33 | +#define WjjH5Short_Host @"https://dwz.cnlive.com" |
| 34 | 34 | ||
| 35 | //我的-投诉 | 35 | //我的-投诉 |
| 36 | #define WjjH5_Complaint cn_WjjH5_Host(@"/cnComplaint.html") | 36 | #define WjjH5_Complaint cn_WjjH5_Host(@"/cnComplaint.html") |
| @@ -392,7 +392,7 @@ | @@ -392,7 +392,7 @@ | ||
| 392 | //鉴权音频 | 392 | //鉴权音频 |
| 393 | #define CNPayAudioAuthUrl cn_API_OpenApi2(@"/lic/checkVideoLic") | 393 | #define CNPayAudioAuthUrl cn_API_OpenApi2(@"/lic/checkVideoLic") |
| 394 | //内购回调 | 394 | //内购回调 |
| 395 | -#define CNApplePayCallbackUrl @"http://apps.pay.cnlive.com/upappnotify/notify/orderForVideo" | 395 | +#define CNApplePayCallbackUrl @"https://apps.pay.cnlive.com/upappnotify/notify/orderForVideo" |
| 396 | 396 | ||
| 397 | #pragma mark - 文化中国 | 397 | #pragma mark - 文化中国 |
| 398 | //文化中国获取合集列表 | 398 | //文化中国获取合集列表 |