| | |
| | | Map<String, String> params = new HashMap<>(); |
| | | params.put("seriesCodes", seriesCodes); |
| | | String result = baseRequest(params, "pptv.channel.content.detail"); |
| | | System.out.println(result); |
| | | JSONObject resultJSON = JSONObject.fromObject(result); |
| | | JSONArray array = resultJSON.optJSONObject("response").optJSONObject("body").optJSONArray("contentInfos"); |
| | | List<PPTVProgram> programList = new ArrayList<>(); |
| | |
| | | * @return |
| | | */ |
| | | public static boolean buyGoods(String openId, String orderNo, String goodsNo, Date orderTime) { |
| | | if (1 > 0) { |
| | | return false; |
| | | } |
| | | Map<String, String> params = new HashMap<>(); |
| | | params.put("openId", openId); |
| | | params.put("canal", CHANNEL_ID); |