refactor(接口测试): 版本导入重构覆盖模块加refId的值
--bug=1021045--user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021045
This commit is contained in:
parent
04d06d1ee4
commit
8e892e8110
|
@ -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