fix: 接口测试转性能测试报错
This commit is contained in:
parent
acc2a27d69
commit
0f67b6fc9f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue