修复分页参数过大
parent
4d7217086a
commit
11bcf0b6b6
|
@ -94,7 +94,8 @@ public class IndexServiceImpl implements IndexService {
|
||||||
log.info("user:{}", JSON.toJSONString(user));
|
log.info("user:{}", JSON.toJSONString(user));
|
||||||
param.put("userId", user.getUserId() == null ? ykUtil.getReqUserId() : user.getUserId());
|
param.put("userId", user.getUserId() == null ? ykUtil.getReqUserId() : user.getUserId());
|
||||||
param.put("page", 1);
|
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);
|
String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class);
|
||||||
log.info("result:{}",result);
|
log.info("result:{}",result);
|
||||||
JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);
|
JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);
|
||||||
|
|
Loading…
Reference in New Issue