diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml index ffc874ba74..016d7de2df 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml @@ -545,7 +545,8 @@ and (api_definition.name like CONCAT('%', #{request.name},'%') or api_definition.tags like CONCAT('%', #{request.name},'%') - or api_definition.num like CONCAT('%', #{request.name},'%')) + or api_definition.num like CONCAT('%', #{request.name},'%') + or api_definition.path like CONCAT('%', #{request.name},'%')) AND api_definition.protocol = #{request.protocol} diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 90b5a57a5d..18cdce1123 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -91,7 +91,7 @@ export default { please_select: 'Please select', search_by_name: 'Search by name', search_by_name_or_id: 'Search by ID/NAME', - search_by_id_name_tag: 'Search by ID/NAME/TAG', + search_by_id_name_tag: 'Search by ID/NAME/TAG/PATH', personal_information: 'Personal Information', exit_system: 'Exit System', verification: 'Verification', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 1735a1ee1c..4acc009ba6 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -92,7 +92,7 @@ export default { please_select: '请选择', search_by_name: '根据名称搜索', search_by_name_or_id: '根据 ID/名称 搜索', - search_by_id_name_tag: '根据 ID/名称/标签 搜索', + search_by_id_name_tag: '根据 ID/名称/标签/路径 搜索', personal_information: '个人信息', exit_system: '退出系统', verification: '验证', diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index e6a7011da2..ccc6cd89be 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -92,7 +92,7 @@ export default { please_select: '請選擇', search_by_name: '根據名稱搜索', search_by_name_or_id: '根據 ID/名稱 搜索', - search_by_id_name_tag: '根據 ID/名稱/標簽 搜索', + search_by_id_name_tag: '根據 ID/名稱/標簽/路徑 搜索', personal_information: '個人信息', exit_system: '退出系統', verification: '驗證',