Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
ca1f82d6
Commit
ca1f82d6
authored
Mar 19, 2025
by
qiuqunfeng
Browse files
debug
parent
eaa62633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
internal/controller/waf.go
internal/controller/waf.go
+1
-0
No files found.
internal/controller/waf.go
View file @
ca1f82d6
...
@@ -410,6 +410,7 @@ func (c *WafController) DeleteBlackWhiteList(ctx *gin.Context) {
...
@@ -410,6 +410,7 @@ func (c *WafController) DeleteBlackWhiteList(ctx *gin.Context) {
utils
.
AssembleResponse
(
ctx
,
nil
,
err
)
utils
.
AssembleResponse
(
ctx
,
nil
,
err
)
return
return
}
}
log
.
Info
()
.
Interface
(
"delete black white list"
,
idUint
)
.
Msg
(
"delete black white list"
)
err
=
c
.
service
.
DeleteBlackWhiteList
(
ctx1
,
uint32
(
idUint
))
err
=
c
.
service
.
DeleteBlackWhiteList
(
ctx1
,
uint32
(
idUint
))
if
err
!=
nil
{
if
err
!=
nil
{
utils
.
AssembleResponse
(
ctx
,
nil
,
err
)
utils
.
AssembleResponse
(
ctx
,
nil
,
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment