Commit f45fcfafd7766c0291af1204b64082633c492de6
1 parent
5ba4c114
0.4.1 添加 kAPI_OB 添加测试域名
Showing
3 changed files
with
12 additions
and
6 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.0' | 11 | + s.version = '0.4.1' |
| 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
| @@ -82,7 +82,8 @@ | @@ -82,7 +82,8 @@ | ||
| 82 | #define API_Pay [CNLiveEnvironmentManager manager].kAPI_Pay | 82 | #define API_Pay [CNLiveEnvironmentManager manager].kAPI_Pay |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
| 85 | - 正式测试环境都是 http://bc.cnlive.com | 85 | + 正式 http://bc.cnlive.com |
| 86 | + 测试 http://text.bc.cnlive.com | ||
| 86 | */ | 87 | */ |
| 87 | #define API_OB [CNLiveEnvironmentManager manager].kAPI_OB | 88 | #define API_OB [CNLiveEnvironmentManager manager].kAPI_OB |
| 88 | 89 |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| @@ -920,7 +920,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -920,7 +920,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 920 | manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; | 920 | manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; |
| 921 | manager.kAPI_LtyAdmin = @"https://ltyadmintest.cnlive.com"; | 921 | manager.kAPI_LtyAdmin = @"https://ltyadmintest.cnlive.com"; |
| 922 | manager.kAPI_Pay = @"https://apiumspay.cnlive.com"; | 922 | manager.kAPI_Pay = @"https://apiumspay.cnlive.com"; |
| 923 | - manager.kAPI_OB = @"http://bc.cnlive.com"; | 923 | + manager.kAPI_OB = @"http://text.bc.cnlive.com"; |
| 924 | manager.kAPI_Community = @"http://testapi.community.cnlive.com"; | 924 | manager.kAPI_Community = @"http://testapi.community.cnlive.com"; |
| 925 | 925 | ||
| 926 | manager.environmentDesc = @"测试商家版"; | 926 | manager.environmentDesc = @"测试商家版"; |
| @@ -928,9 +928,9 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -928,9 +928,9 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 928 | manager.displayName = @"商家测试版"; | 928 | manager.displayName = @"商家测试版"; |
| 929 | 929 | ||
| 930 | //视讯云 | 930 | //视讯云 |
| 931 | - manager.appId = @"802_k8ho7qks68"; | ||
| 932 | - manager.appKey = @"1895402ecc187b852e1904230a1aa5731549ed404e9726"; | ||
| 933 | - manager.appSecret = @"c1f2b527f89f0e5b8b69470432ae64f96878a1082776e8"; | 931 | + manager.appId = @"802_kn8khh2c84"; |
| 932 | + manager.appKey = @"71e4e2d6cfa4fb8511f8868c9af7ab102a559c4b77575a"; | ||
| 933 | + manager.appSecret = @"e983d590e4dd5fdd50faaaaf2c05e26fb642922d0f6109"; | ||
| 934 | 934 | ||
| 935 | //高德地图 | 935 | //高德地图 |
| 936 | manager.kGDApiKey = @""; | 936 | manager.kGDApiKey = @""; |
| @@ -1109,7 +1109,12 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -1109,7 +1109,12 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 1109 | manager.kAPI_Report = @"https://mobile.cnlive.com"; | 1109 | manager.kAPI_Report = @"https://mobile.cnlive.com"; |
| 1110 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; | 1110 | manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2"; |
| 1111 | manager.kAPI_Classify = @"https://cmstest.cnlive.com";//@"http://cmstest.cnlive.com:8768"; | 1111 | manager.kAPI_Classify = @"https://cmstest.cnlive.com";//@"http://cmstest.cnlive.com:8768"; |
| 1112 | + manager.kAPI_Managemall = @"https://wjjshop.cnlive.com"; | ||
| 1113 | + manager.kAPI_Manageshop = @"https://wjjshop.cnlive.com"; | ||
| 1114 | + manager.kAPI_LtyAdmin = @"https://ltyadmintest.cnlive.com"; | ||
| 1112 | manager.kAPI_Pay = @"https://apiumspay.cnlive.com"; | 1115 | manager.kAPI_Pay = @"https://apiumspay.cnlive.com"; |
| 1116 | + manager.kAPI_OB = @"http://text.bc.cnlive.com"; | ||
| 1117 | + manager.kAPI_Community = @"http://testapi.community.cnlive.com"; | ||
| 1113 | 1118 | ||
| 1114 | manager.environmentDesc = @"测试商家版"; | 1119 | manager.environmentDesc = @"测试商家版"; |
| 1115 | manager.bundleId = @"com.cnlive.pro.CNLiveNetAdd.debug"; | 1120 | manager.bundleId = @"com.cnlive.pro.CNLiveNetAdd.debug"; |