From 11bcf0b6b6a63fcd8469eff16eea8eb8acad05d3 Mon Sep 17 00:00:00 2001 From: Hoshi <1196756653@qq.com> Date: Thu, 14 Nov 2024 13:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=BF=87=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/bocloud/sms/service/IndexServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java index 5b40ee9..7980c36 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java @@ -94,7 +94,8 @@ public class IndexServiceImpl implements IndexService { log.info("user:{}", JSON.toJSONString(user)); param.put("userId", user.getUserId() == null ? ykUtil.getReqUserId() : user.getUserId()); param.put("page", 1); - param.put("limit", Integer.MAX_VALUE); + param.put("limit", 15); //理想要求 固定值15 + log.info("get task list params:{}", JSON.toJSONString(param)); String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class); log.info("result:{}",result); JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);