refactor(接口测试): 版本导入重构覆盖模块加refId的值
--bug=1021045--user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021045
This commit is contained in:
parent
322416d1da
commit
09bc52347b
|
@ -532,6 +532,7 @@ public class ApiDefinitionImportUtilService {
|
|||
updateApiList.add(definitionWithBLOBs);
|
||||
}
|
||||
}
|
||||
apiDefinitionWithBLOBs.setRefId(latestApi.getRefId());
|
||||
apiDefinitionWithBLOBs.setVersionId("trash");
|
||||
} else {
|
||||
addNewVersionApi(apiDefinitionWithBLOBs, latestApi, "update");
|
||||
|
|
Loading…
Reference in New Issue