fix: 修复下载文件时文件名没有解析的bug

This commit is contained in:
Captain.B 2021-01-06 10:03:07 +08:00
parent 6b6acf4ca7
commit d89de179b3
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public class JmeterFileService {
if (!CollectionUtils.isEmpty(testData)) {
for (String k : testData.keySet()) {
String v = testData.get(k);
files.put("k", v.getBytes(StandardCharsets.UTF_8));
files.put(k, v.getBytes(StandardCharsets.UTF_8));
}
}
@ -97,7 +97,7 @@ public class JmeterFileService {
if (!CollectionUtils.isEmpty(jarFiles)) {
for (String k : jarFiles.keySet()) {
byte[] v = jarFiles.get(k);
files.put("k", v);
files.put(k, v);
}
}