refactor: api列表支持根据路径搜索
This commit is contained in:
parent
eadddea6ef
commit
35512a366c
|
@ -545,7 +545,8 @@
|
||||||
<if test="request.name != null">
|
<if test="request.name != null">
|
||||||
and (api_definition.name like CONCAT('%', #{request.name},'%')
|
and (api_definition.name like CONCAT('%', #{request.name},'%')
|
||||||
or api_definition.tags 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},'%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="request.protocol != null">
|
<if test="request.protocol != null">
|
||||||
AND api_definition.protocol = #{request.protocol}
|
AND api_definition.protocol = #{request.protocol}
|
||||||
|
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
please_select: 'Please select',
|
please_select: 'Please select',
|
||||||
search_by_name: 'Search by name',
|
search_by_name: 'Search by name',
|
||||||
search_by_name_or_id: 'Search by ID/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',
|
personal_information: 'Personal Information',
|
||||||
exit_system: 'Exit System',
|
exit_system: 'Exit System',
|
||||||
verification: 'Verification',
|
verification: 'Verification',
|
||||||
|
|
|
@ -92,7 +92,7 @@ export default {
|
||||||
please_select: '请选择',
|
please_select: '请选择',
|
||||||
search_by_name: '根据名称搜索',
|
search_by_name: '根据名称搜索',
|
||||||
search_by_name_or_id: '根据 ID/名称 搜索',
|
search_by_name_or_id: '根据 ID/名称 搜索',
|
||||||
search_by_id_name_tag: '根据 ID/名称/标签 搜索',
|
search_by_id_name_tag: '根据 ID/名称/标签/路径 搜索',
|
||||||
personal_information: '个人信息',
|
personal_information: '个人信息',
|
||||||
exit_system: '退出系统',
|
exit_system: '退出系统',
|
||||||
verification: '验证',
|
verification: '验证',
|
||||||
|
|
|
@ -92,7 +92,7 @@ export default {
|
||||||
please_select: '請選擇',
|
please_select: '請選擇',
|
||||||
search_by_name: '根據名稱搜索',
|
search_by_name: '根據名稱搜索',
|
||||||
search_by_name_or_id: '根據 ID/名稱 搜索',
|
search_by_name_or_id: '根據 ID/名稱 搜索',
|
||||||
search_by_id_name_tag: '根據 ID/名稱/標簽 搜索',
|
search_by_id_name_tag: '根據 ID/名稱/標簽/路徑 搜索',
|
||||||
personal_information: '個人信息',
|
personal_information: '個人信息',
|
||||||
exit_system: '退出系統',
|
exit_system: '退出系統',
|
||||||
verification: '驗證',
|
verification: '驗證',
|
||||||
|
|
Loading…
Reference in New Issue