fix(接口定义): 修复场景批量编辑报错的缺陷 (#15821)
--bug=1014910 --user=王孝刚 【接口测试】批量编辑场景报错 https://www.tapd.cn/55049933/s/1202534 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
2e0e93cc8e
commit
e16cf6178a
|
@ -1612,7 +1612,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