Commit 2b0c3935e9c82486f272e579cb5facdd8170d6a5
1 parent
e65a0cc1
增加接口域名注释
Showing
1 changed file
with
39 additions
and
0 deletions
CNLiveEnvironment/Classes/CNLiveEnvironment.h
| ... | ... | @@ -24,19 +24,56 @@ |
| 24 | 24 | #define TestEnvironment [CNLiveEnvironmentManager manager].isTestEnvironment |
| 25 | 25 | |
| 26 | 26 | // 下载Url |
| 27 | +/** 正式@"http://apiwjj.cnlive.com/download/index.html" | |
| 28 | + 测试@"http://apiwjj.cnlive.com/download/index.html"*/ | |
| 27 | 29 | #define AppDownloadUrl [CNLiveEnvironmentManager manager].kAppDownloadUrl |
| 28 | 30 | |
| 31 | +/** 正式@"http://wjjh5.cnlive.com" | |
| 32 | + 测试@"http://wjjh5test.cnlive.com"*/ | |
| 29 | 33 | #define WjjH5_Host [CNLiveEnvironmentManager manager].kWjjH5_Host |
| 34 | + | |
| 35 | +/** 正式@"https://wjjh5.cnlive.com" | |
| 36 | + 测试@"https://wjjh5test.cnlive.com"*/ | |
| 30 | 37 | #define WjjH5_Host_HTTPS [CNLiveEnvironmentManager manager].kWjjH5_Host_Https |
| 38 | + | |
| 39 | +/** 正式@"https://apiwjj.cnlive.com" | |
| 40 | + 测试@"https://apiwjjtest.cnlive.com"*/ | |
| 31 | 41 | #define API_Host [CNLiveEnvironmentManager manager].kAPI_Host |
| 42 | + | |
| 43 | +/** 正式@"https://wjjim.cnlive.com" | |
| 44 | + 测试@"https://imtest.cnlive.com"*/ | |
| 32 | 45 | #define API_Contact [CNLiveEnvironmentManager manager].kAPI_Contact |
| 46 | + | |
| 47 | +/** 正式@"https://wjj.ys1.cnliveimg.com" | |
| 48 | + 测试@"https://wjj.ys1.cnliveimg.com"*/ | |
| 33 | 49 | #define API_Refund [CNLiveEnvironmentManager manager].kAPI_Refund |
| 50 | + | |
| 51 | +/** 正式@"https://mobile.cnlive.com" | |
| 52 | + 测试@"https://mobile.cnlive.com"*/ | |
| 34 | 53 | #define API_Report [CNLiveEnvironmentManager manager].kAPI_Report |
| 54 | + | |
| 55 | +/** 正式@"https://api.cnlive.com/open/api2" | |
| 56 | + 测试@"https://api.cnlive.com/open/api2"*/ | |
| 35 | 57 | #define API_OpenApi2 [CNLiveEnvironmentManager manager].kAPI_OpenApi2 |
| 58 | + | |
| 59 | +/** 正式@"http://cms.cnlive.com/api" | |
| 60 | + 测试@"http://cmstest.cnlive.com/cms"*/ | |
| 36 | 61 | #define API_Classify [CNLiveEnvironmentManager manager].kAPI_Classify |
| 62 | + | |
| 63 | +/** 正式@"https://manageshop.cnlive.com" | |
| 64 | + 测试@"https://wjjshop.cnlive.com"*/ | |
| 37 | 65 | #define API_Manageshop [CNLiveEnvironmentManager manager].kAPI_Manageshop |
| 66 | + | |
| 67 | +/** 正式@"https://managemall.cnlive.com" | |
| 68 | + 测试@"https://wjjshop.cnlive.com"*/ | |
| 38 | 69 | #define API_Managemall [CNLiveEnvironmentManager manager].kAPI_Managemall |
| 70 | + | |
| 71 | +/** 正式@"http://ltyadmin.cnlive.com" | |
| 72 | + 测试@"http://ltyadmintest.cnlive.com"*/ | |
| 39 | 73 | #define API_LtyAdmin [CNLiveEnvironmentManager manager].kAPI_LtyAdmin |
| 74 | + | |
| 75 | +/** 正式@"https://apicommunity.cnlive.com" | |
| 76 | + 测试@"http://testapi.community.cnlive.com"*/ | |
| 40 | 77 | #define API_Community [CNLiveEnvironmentManager manager].kAPI_Community |
| 41 | 78 | |
| 42 | 79 | // BundleId |
| ... | ... | @@ -56,6 +93,8 @@ |
| 56 | 93 | #define IM_Cer_BusiId [CNLiveEnvironmentManager manager].kIM_Cer_BusiId |
| 57 | 94 | |
| 58 | 95 | // IM请求Token |
| 96 | +/** 正式@"https://wjjim.cnlive.com/CnliveIM/notify/generateUserSign.action" | |
| 97 | + 测试@"https://imtest.cnlive.com/CnliveIM/notify/generateUserSign.action"*/ | |
| 59 | 98 | #define TIM_GetTokenUrl [CNLiveEnvironmentManager manager].kTIM_GetTokenUrl |
| 60 | 99 | |
| 61 | 100 | // 高德地图Key | ... | ... |