Commit cf3fc3d53941f60c96c6f7aeec9e84a2bf18745d

Authored by 刘基城
1 parent b26b3ffe

1

src/main/java/com/cnlive/mz/live/action/HttpPostArgumentTest2.java
@@ -114,10 +114,15 @@ public class HttpPostArgumentTest2 { @@ -114,10 +114,15 @@ public class HttpPostArgumentTest2 {
114 System.out.println(c); 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 public static void main(String[] args) { 122 public static void main(String[] args) {
118 // new HttpPostArgumentTest2().delete(); 123 // new HttpPostArgumentTest2().delete();
119 //HttpPostArgumentTest2.all(); 124 //HttpPostArgumentTest2.all();
120 - HttpPostArgumentTest2.redirect(); 125 + HttpPostArgumentTest2.app();
121 // HttpReq.postRequestWidthResult("http://120.132.76.51:9696/cnlive_encoding_job/task", 126 // HttpReq.postRequestWidthResult("http://120.132.76.51:9696/cnlive_encoding_job/task",
122 // "json", "jsonjsonjsonjson");r 127 // "json", "jsonjsonjsonjson");r
123 } 128 }
src/main/java/com/cnlive/mz/live/action/LiveAction.java
@@ -501,13 +501,11 @@ public class LiveAction { @@ -501,13 +501,11 @@ public class LiveAction {
501 rb.setErrorMessage("302重定向到swf"); 501 rb.setErrorMessage("302重定向到swf");
502 return rb; 502 return rb;
503 }else{ 503 }else{
504 -  
505 map.put("location", tLive.getLive_url()); 504 map.put("location", tLive.getLive_url());
506 rb.setErrorMessage("启动swf活动成功"); 505 rb.setErrorMessage("启动swf活动成功");
507 return rb; 506 return rb;
508 } 507 }
509 } 508 }
510 -  
511 } 509 }
512 /** 510 /**
513 * 2.1 获取推流直播播放地址.md 511 * 2.1 获取推流直播播放地址.md