fix(接口定义): 修复场景批量编辑报错的缺陷

--bug=1014910 --user=王孝刚 【接口测试】批量编辑场景报错
https://www.tapd.cn/55049933/s/1202534
This commit is contained in:
wxg0103 2022-07-15 11:25:09 +08:00 committed by fit2-zhao
parent 5793093aee
commit ad35f8d2b5
1 changed files with 1 additions and 1 deletions

View File

@ -1698,7 +1698,7 @@ public class ApiDefinitionService {
if (StringUtils.isEmpty(request.getModuleId())) {
apiDefinitionRequest.setModuleId(api.getModuleId());
} else {
apiDefinitionRequest.setMethod((request.getModuleId()));
apiDefinitionRequest.setModuleId((request.getModuleId()));
}
if (StringUtils.isEmpty(request.getModulePath())) {
apiDefinitionRequest.setModulePath(api.getModulePath());