fix(接口定义): 修复场景批量编辑报错的缺陷
--bug=1014910 --user=王孝刚 【接口测试】批量编辑场景报错 https://www.tapd.cn/55049933/s/1202534
This commit is contained in:
parent
5793093aee
commit
ad35f8d2b5
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue