Browse Source

修改参数

xueyiming 6 months ago
parent
commit
38582def5d

+ 1 - 1
api-module/src/main/java/com/tzld/piaoquan/api/compontent/TouLiuHttpClient.java

@@ -63,7 +63,7 @@ public class TouLiuHttpClient {
             String url = "https://longvideoapi.piaoquantv.com/longvideoapi/openapi/video/batchSelectVideoInfo";
             String url = "https://longvideoapi.piaoquantv.com/longvideoapi/openapi/video/batchSelectVideoInfo";
             JSONObject params = new JSONObject();
             JSONObject params = new JSONObject();
             params.put("videoIdList", videoIds);
             params.put("videoIdList", videoIds);
-            String post = httpPoolClient.post(url, JSONObject.toJSONString(map));
+            String post = httpPoolClient.post(url, JSONObject.toJSONString(params));
             JSONObject res = JSONObject.parseObject(post);
             JSONObject res = JSONObject.parseObject(post);
             JSONArray data = res.getJSONArray("data");
             JSONArray data = res.getJSONArray("data");
             for (int i = 0; i < data.size(); i++) {
             for (int i = 0; i < data.size(); i++) {