Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5fa003b8
authored
2025-12-10 13:47:39 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉API的安全认证
1 parent
56af7d44
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
src/views/data_asset/detail_serviceApi.vue
src/views/data_service/apiCreate.vue
src/views/data_service/detail_serviceApi.vue
src/views/data_asset/detail_serviceApi.vue
View file @
5fa003b
...
...
@@ -332,10 +332,10 @@ const sortParamsTableInfo = ref({
<span
class=
"item_label"
>
请求方式:
</span>
<span
class=
"item_value"
>
{{
detailInfo
.
requestMode
==
'G'
?
'get'
:
'post'
}}
</span>
</div>
<div
class=
"list_item"
>
<
!--
<
div
class=
"list_item"
>
<span
class=
"item_label"
>
安全认证:
</span>
<span
class=
"item_value"
>
{{
detailInfo
.
authenticationType
==
'T'
?
'token认证'
:
'无认证'
}}
</span>
</div>
</div>
-->
<div
class=
"list_item"
v-if=
"detailInfo.authenticationType == 'N'"
>
<span
class=
"item_label"
>
IP白名单:
</span>
<span
class=
"item_value"
>
...
...
src/views/data_service/apiCreate.vue
View file @
5fa003b
...
...
@@ -693,7 +693,7 @@ const baseFormRules = ref({
/** 此处请求路径后端说只能输入一级。 */
requestPath
:
[
required
(
"请填写请求路径"
),
regexpValidate
(
/^
\/[^\/][\w\u
4e00-
\u
9fa5_-
]
*$/
,
'请填写合法的请求路径'
),
checkExistName
(
checkedPathInfo
.
value
,
checkExistRequestPath
,
detailInfo
.
value
,
'requestPath'
,
'该请求路径已存在,请填写其他路径'
)],
requestMode
:
[
required
(
"请选择请求方式"
)],
authenticationType
:
[
required
(
"请选择安全认证"
)],
//
authenticationType: [required("请选择安全认证")],
apiDescription
:
[
required
(
'请填写API描述'
),
description
(
200
)],
// whiteIPs: [required('请选择IP白名单')],
});
...
...
src/views/data_service/detail_serviceApi.vue
View file @
5fa003b
...
...
@@ -344,10 +344,10 @@ onActivated(() => {
<span
class=
"item_label"
>
请求方式:
</span>
<span
class=
"item_value"
>
{{
detailInfo
.
requestMode
==
'G'
?
'get'
:
'post'
}}
</span>
</div>
<div
class=
"list_item"
>
<
!--
<
div
class=
"list_item"
>
<span
class=
"item_label"
>
安全认证:
</span>
<span
class=
"item_value"
>
{{
detailInfo
.
authenticationType
==
'T'
?
'token认证'
:
'无认证'
}}
</span>
</div>
</div>
-->
<div
class=
"list_item"
v-if=
"detailInfo.authenticationType == 'N'"
>
<span
class=
"item_label"
>
IP白名单:
</span>
<span
class=
"item_value"
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment