|
@@ -300,8 +300,10 @@ public class FlowPoolService {
|
|
|
|
|
|
List<FlowPoolVideoInfo> remainFlowPoolVideoInfos = new ArrayList<>(flowPoolVideoInfos.size());
|
|
|
List<List<JSONObject>> partition = Lists.partition(paramJsonList, 10);
|
|
|
- for (List<JSONObject> param : partition) {
|
|
|
- FlowPoolResponse<List<FlowPoolVideoInfo>> response = flowPoolFeign.remainViewCount(param);
|
|
|
+ for (List<JSONObject> videos : partition) {
|
|
|
+ JSONObject paramJson = new JSONObject();
|
|
|
+ paramJson.put("videos", videos);
|
|
|
+ FlowPoolResponse<List<FlowPoolVideoInfo>> response = flowPoolFeign.remainViewCount(paramJson);
|
|
|
if (0 != response.getCode()) {
|
|
|
log.error("[remain view count error] responseJson: {}", response);
|
|
|
continue;
|