Commit cf3fc3d53941f60c96c6f7aeec9e84a2bf18745d
1 parent
b26b3ffe
1
Showing
2 changed files
with
6 additions
and
3 deletions
src/main/java/com/cnlive/mz/live/action/HttpPostArgumentTest2.java
| ... | ... | @@ -114,10 +114,15 @@ public class HttpPostArgumentTest2 { |
| 114 | 114 | System.out.println(c); |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | + | |
| 118 | + public static void app() { | |
| 119 | + String c = HttpReq.getRequestWidthResult("http://bc.cnlive.com/live/epg/play/swf?appId=82_irej0pbo53&activityId=16081917400001"); | |
| 120 | + System.out.println(c); | |
| 121 | + } | |
| 117 | 122 | public static void main(String[] args) { |
| 118 | 123 | // new HttpPostArgumentTest2().delete(); |
| 119 | 124 | //HttpPostArgumentTest2.all(); |
| 120 | - HttpPostArgumentTest2.redirect(); | |
| 125 | + HttpPostArgumentTest2.app(); | |
| 121 | 126 | // HttpReq.postRequestWidthResult("http://120.132.76.51:9696/cnlive_encoding_job/task", |
| 122 | 127 | // "json", "jsonjsonjsonjson");r |
| 123 | 128 | } | ... | ... |
src/main/java/com/cnlive/mz/live/action/LiveAction.java
| ... | ... | @@ -501,13 +501,11 @@ public class LiveAction { |
| 501 | 501 | rb.setErrorMessage("302重定向到swf"); |
| 502 | 502 | return rb; |
| 503 | 503 | }else{ |
| 504 | - | |
| 505 | 504 | map.put("location", tLive.getLive_url()); |
| 506 | 505 | rb.setErrorMessage("启动swf活动成功"); |
| 507 | 506 | return rb; |
| 508 | 507 | } |
| 509 | 508 | } |
| 510 | - | |
| 511 | 509 | } |
| 512 | 510 | /** |
| 513 | 511 | * 2.1 获取推流直播播放地址.md | ... | ... |