fix(接口测试): case 多附件创建修改
Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
bf239a8733
commit
af663a8d70
|
@ -71,7 +71,7 @@ public class ApiFileUtil extends FileUtils {
|
||||||
|
|
||||||
if (CollectionUtils.isNotEmpty(bodyFiles) && StringUtils.isNotBlank(requestId)) {
|
if (CollectionUtils.isNotEmpty(bodyFiles) && StringUtils.isNotBlank(requestId)) {
|
||||||
for (MultipartFile bodyFile : bodyFiles) {
|
for (MultipartFile bodyFile : bodyFiles) {
|
||||||
fileManagerService.upload(bodyFile, getRequest(requestId));
|
fileManagerService.upload(bodyFile, getRequest(requestId, bodyFile.getOriginalFilename()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue