| | |
| | | + (pageIndex - 1) * Constant.pageCount + "&rows=" + Constant.pageCount + "&wt=json&indent=true&_="// 10.165.56.110 |
| | | // 121.42.58.49 |
| | | + System.currentTimeMillis(), Constant.IsOutNet ? IP_IN : IP_OUT, |
| | | "name:" + URLEncoder.encode(escapeQueryChars(key) + "", "UTF-8")); |
| | | "name:" + URLEncoder.encode("\""+escapeQueryChars(key) + "\"", "UTF-8")); |
| | | Map<String, String> map = new HashMap<String, String>(); |
| | | map.put("Accept", "application/json, text/javascript, */*; q=0.01"); |
| | | |
| | |
| | | info.setCreatetime(obj.optLong("createtime")); |
| | | info.setCommentCount(StringUtil.isNullOrEmpty(obj.optString("commentcount")) ? 0 |
| | | : Integer.parseInt(obj.optString("commentcount"))); |
| | | info.setVideocount(obj.optInt("videocount")); |
| | | return info; |
| | | } |
| | | |
| | |
| | | // map.put("commit", "true"); |
| | | // map.put("wt", "json"); |
| | | // map.put("indent", "true"); |
| | | // map.put("entity", "video"); |
| | | // map.put("entity", "juhe"); |
| | | // map.put("start", "0"); |
| | | // map.put("rows", "50000"); |
| | | // map.put("verbose", "false"); |