fix(接口测试): 修复跳转的未显示自定义字段的缺陷

--bug=1026130 --user=王孝刚 【接口测试】github#24358,场景中点击复制的 api
跳转到接口定义页面,自定义字段不显示 https://www.tapd.cn/55049933/s/1371193
This commit is contained in:
wxg0103 2023-05-12 16:39:54 +08:00 committed by fit2-zhao
parent 6947c0e827
commit bb7be006ee
1 changed files with 1 additions and 0 deletions

View File

@ -1712,6 +1712,7 @@ public class ApiDefinitionService {
ApiDefinitionRequest request = new ApiDefinitionRequest();
request.setId(id);
List<ApiDefinitionResult> list = extApiDefinitionMapper.list(request);
buildCustomField(list);
ApiDefinitionResult result = null;
if (CollectionUtils.isNotEmpty(list)) {
result = list.get(0);