fix(接口管理): 修复场景导入系统请求问题
--bug=1047839 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001047839
This commit is contained in:
parent
bb5bb53322
commit
4376d3bc91
|
@ -49,12 +49,15 @@ public class ApiScenarioSelectAssociateService {
|
||||||
case "SCENARIO":
|
case "SCENARIO":
|
||||||
List<ApiScenarioStepDTO> apiScenarioStepDTOs = handleApiScenarioData(request.get(key));
|
List<ApiScenarioStepDTO> apiScenarioStepDTOs = handleApiScenarioData(request.get(key));
|
||||||
steps.addAll(apiScenarioStepDTOs);
|
steps.addAll(apiScenarioStepDTOs);
|
||||||
|
break;
|
||||||
case "CASE":
|
case "CASE":
|
||||||
List<ApiScenarioStepDTO> apiCaseStepDTOs = handleApiCaseData(request.get(key));
|
List<ApiScenarioStepDTO> apiCaseStepDTOs = handleApiCaseData(request.get(key));
|
||||||
steps.addAll(apiCaseStepDTOs);
|
steps.addAll(apiCaseStepDTOs);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
List<ApiScenarioStepDTO> apiStepDTOs = handleApiData(request.get(key));
|
List<ApiScenarioStepDTO> apiStepDTOs = handleApiData(request.get(key));
|
||||||
steps.addAll(apiStepDTOs);
|
steps.addAll(apiStepDTOs);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return steps;
|
return steps;
|
||||||
|
|
Loading…
Reference in New Issue