Commit 1c4b5cbc7884fa38b862d062f4a62f3d9586d607
1 parent
71abf99e
修改接口地址
Showing
1 changed file
with
2 additions
and
2 deletions
02.直播云/1.1 获取直播活动信息接口APP.md
| @@ -6,7 +6,7 @@ Title: 1.1 获取某直播活动信息接口 for APP_SDK | @@ -6,7 +6,7 @@ Title: 1.1 获取某直播活动信息接口 for APP_SDK | ||
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | ### 接口地址 ### | 8 | ### 接口地址 ### |
| 9 | -http://api.cnlive.com/open/api2/live_epg/getLiveActivityPlayInfo4App | 9 | +http://api.cnlive.com/open/api2/live_epg/getLiveActivityPlayInfo |
| 10 | 10 | ||
| 11 | ### 接口协议 ### | 11 | ### 接口协议 ### |
| 12 | HTTP GET | 12 | HTTP GET |
| @@ -85,7 +85,7 @@ public Object getPlayInfo() { | @@ -85,7 +85,7 @@ public Object getPlayInfo() { | ||
| 85 | params.put("acitivityId", "d849bb4277be42799df3ffc21654d949"); | 85 | params.put("acitivityId", "d849bb4277be42799df3ffc21654d949"); |
| 86 | params.put("timestamp", System.currentTimeMillis()/1000+""); | 86 | params.put("timestamp", System.currentTimeMillis()/1000+""); |
| 87 | params.put("platform_id", ""); | 87 | params.put("platform_id", ""); |
| 88 | - String url = OpenUtil.buildURL("http://api.cnlive.com/open/api2/live_epg/getLiveActivityPlayInfo4App", params, "87ef486a53d637524ba75a4ebcb2d6d8c48d00e56fc2d4"); | 88 | + String url = OpenUtil.buildURL("http://api.cnlive.com/open/api2/live_epg/getLiveActivityPlayInfo", params, "87ef486a53d637524ba75a4ebcb2d6d8c48d00e56fc2d4"); |
| 89 | HttpURLConnection connection; | 89 | HttpURLConnection connection; |
| 90 | try { | 90 | try { |
| 91 | URL requestUrl = new URL(url); | 91 | URL requestUrl = new URL(url); |