Commit 0fde32d5 authored by 技术部-任文超's avatar 技术部-任文超

查询条数上限从 1k 改为 5w

parent d6c816f3
......@@ -163,8 +163,8 @@ public class UserQueryLogController {
String[] values=keyValues.split("\\n");
List<String> queryV= Arrays.asList(values);
if(queryV!=null&&queryV.size()>1000){
return JsonResult.buildErrorStateResult("查询记录数是"+queryV.size()+",超过1000条限制",null);
if(queryV!=null&&queryV.size()>50000){
return JsonResult.buildErrorStateResult("查询记录数是"+queryV.size()+",超过50000条限制",null);
}
List<UserQueryInfo> userQueryInfos=new ArrayList<UserQueryInfo>();
......@@ -395,8 +395,8 @@ public class UserQueryLogController {
List<String> queryV= Arrays.asList(values);
if(queryV!=null&&queryV.size()>1000){
return JsonResult.buildErrorStateResult("查询记录数是"+queryV.size()+",超过1000条限制",null);
if(queryV!=null&&queryV.size()>50000){
return JsonResult.buildErrorStateResult("查询记录数是"+queryV.size()+",超过50000条限制",null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment