(int oid, int main_id, int detail_id, int count)
| 132 | } |
| 133 | |
| 134 | private void doPrediction(int oid, int main_id, int detail_id, int count) { |
| 135 | String requestbody = "oid=" + oid |
| 136 | + "&main_id=" + main_id |
| 137 | + "&detail_id=" + detail_id |
| 138 | + "&count=" + count |
| 139 | + "&is_fav=0" |
| 140 | + "&csrf=" + ConfigLoader.helperConfig.getBiliVerify().getBiliJct(); |
| 141 | |
| 142 | JsonObject result = HttpUtils.doPost(ApiList.DO_MATCH_ADD, requestbody); |
| 143 | |
| 144 | if (result.get("code").getAsInt() != 0) { |
| 145 | log.info(result.get("message").getAsString()); |
| 146 | } else { |
| 147 | log.info("预测成功"); |
| 148 | } |
| 149 | |
| 150 | } |
| 151 | |
| 152 | private String getTime() { |
| 153 | Date d = new Date(); |
no test coverage detected