fix: 接口测试转性能测试报错

This commit is contained in:
chenjianxing 2021-02-01 20:22:15 +08:00
parent acc2a27d69
commit 0f67b6fc9f
1 changed files with 16 additions and 14 deletions

View File

@ -322,6 +322,7 @@ export function _getBodyUploadFiles(request, bodyUploadFiles, obj) {
body = request.body;
}
if (body) {
if (body.kvs) {
body.kvs.forEach(param => {
if (param.files) {
param.files.forEach(item => {
@ -337,6 +338,7 @@ export function _getBodyUploadFiles(request, bodyUploadFiles, obj) {
});
}
});
}
if (body.binary) {
body.binary.forEach(param => {
if (param.files) {