(String mid)
| 134 | } |
| 135 | |
| 136 | public void videoUpdate(String mid) { |
| 137 | String urlParam = "?mid=" + mid + "&ps=30&tid=0&pn=1&keyword=&order=pubdate&jsonp=jsonp"; |
| 138 | JsonObject resultJson = HttpUtils.doGet(ApiList.GET_BVID_BY_CREATE + urlParam); |
| 139 | JsonArray jsonArray = resultJson.getAsJsonObject("data").getAsJsonObject("list").getAsJsonArray("vlist"); |
| 140 | |
| 141 | if (jsonArray != null) { |
| 142 | for (JsonElement videoInfo : jsonArray) { |
| 143 | String bvid = videoInfo.getAsJsonObject().get("bvid").getAsString(); |
| 144 | // int play = videoInfo.getAsJsonObject().get("play").getAsInt(); |
| 145 | if (CoinAdd.isCoinAdded(bvid)) { |
| 146 | this.rankVideoList.add(bvid); |
| 147 | this.followUpVideoList.add(bvid); |
| 148 | } |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | } |
nothing calls this directly
no test coverage detected