Commit 7b6d9381fb15febd00b13f82ddeb809b9e220d38

Authored by 张宗朋
1 parent 0046dd11

baseUtil

src/main/java/com/cnlive/mz/live/rest/BaseUtil.java
@@ -298,15 +298,7 @@ public class BaseUtil { @@ -298,15 +298,7 @@ public class BaseUtil {
298 } 298 }
299 299
300 public static void main(String[] args) throws Exception { 300 public static void main(String[] args) throws Exception {
301 - // 发送POST请求示例  
302 - /*  
303 - * String ak_id = "fWUN8KDtJZJGo0ArQ4qo"; // 用户ak String ak_secret =  
304 - * "UIWPYVeaV8kq2vWImDkLBvWs/pwmTJVF9MCNHDsC"; // 用户ak_secret String url  
305 - * = "https://kmr-cn-beijing.ksyun.com"; String body =  
306 - * "{\"param1\": \"GET\n1436976000\nnonce=4e1f2519c626cbfbab1520c255830c26&public=0&vdoid=12345\", \"param2\":\"fWUN8KDtJZJGo0ArQ4qo\"}"  
307 - * ; System.out.println("response body:" + sendPost(url, body, AK_ID,  
308 - * AK_SECRET));  
309 - */ 301 +
310 302
311 Date date = new Date(); 303 Date date = new Date();
312 System.out.println(toGMTString(date)); 304 System.out.println(toGMTString(date));