fix(项目设置): 自定义代码片段执行接口请求未展示结果

--bug=1010144 --user=lyh 【项目管理】自定义代码片段执行python接口请求脚本失败
https://www.tapd.cn/55049933/s/1107256
This commit is contained in:
shiziyuan9527 2022-02-22 11:20:21 +08:00 committed by shiziyuan9527
parent c5f304a596
commit 6e1abd2c7f
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class FixedCapacityUtils {
Long endTime = System.currentTimeMillis(); Long endTime = System.currentTimeMillis();
Long finalStartTime = startTime; Long finalStartTime = startTime;
String logMessage = FixedCapacityUtils.fixedCapacityCache.entrySet().stream() String logMessage = FixedCapacityUtils.fixedCapacityCache.entrySet().stream()
.filter(map -> map.getKey() > finalStartTime && map.getKey() < endTime) .filter(map -> map.getKey() > finalStartTime && map.getKey() <= endTime)
.map(map -> map.getValue()).collect(Collectors.joining()); .map(map -> map.getValue()).collect(Collectors.joining());
return logMessage; return logMessage;
} catch (Exception e) { } catch (Exception e) {