radius导出条数限制添加
This commit is contained in:
@@ -769,4 +769,10 @@ public final class Constants {
|
||||
public static final String NTC_COLLECT_RADIUS_LOG =Configurations.getStringProperty("ntcCollectRadiusLog","");
|
||||
public static final String NTC_CONN_RECORD_LOG =Configurations.getStringProperty("ntcConnRecordLog","");
|
||||
public static final String NTC_CONN_RECORD_PERCENT =Configurations.getStringProperty("ntcConnRecordPercent","");
|
||||
|
||||
/**
|
||||
* 每次最大导出条数
|
||||
*/
|
||||
public static final int MAX_LOG_EXPORT_SIZE = Configurations.getIntProperty("maxLogExportSize", 100000);
|
||||
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public class NtcCollectRadiusLogController extends BaseController {
|
||||
//---------------------------
|
||||
PageLog<NtcCollectRadiusLog> page = new PageLog<NtcCollectRadiusLog>(request, response);
|
||||
page.setPageNo(1);
|
||||
page.setPageSize(Constants.MAX_EXPORT_SIZE);
|
||||
page.setPageSize(Constants.MAX_LOG_EXPORT_SIZE);
|
||||
Map<String, Object> params = new HashMap<String, Object>();
|
||||
params.put("pageSize", page.getPageSize());
|
||||
params.put("pageNo", page.getPageNo());
|
||||
|
||||
@@ -585,4 +585,6 @@ dns_spoofing_ip_ip=1.1.1.1
|
||||
trafficBandwidthTransTwo=trafficBandwidthTransTwo
|
||||
ntcCollectRadiusLog=ntcCollectRadiusLogs
|
||||
ntcConnRecordLog=ntcConnRecordLogs
|
||||
ntcConnRecordPercent=ntcConnRecordPercent
|
||||
ntcConnRecordPercent=ntcConnRecordPercent
|
||||
#\u5BFC\u51FA\u6700\u5927\u6761\u6570
|
||||
maxLogExportSize=2000
|
||||
Reference in New Issue
Block a user