fix: dashboard waf page

This commit is contained in:
naiba
2024-11-30 21:33:18 +08:00
parent 08f0c25dfc
commit 166f25508c
4 changed files with 14 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import (
// @Description List server
// @Tags auth required
// @Produce json
// @Success 200 {object} model.CommonResponse[[]model.WAF]
// @Success 200 {object} model.CommonResponse[[]model.WAFApiMock]
// @Router /waf [get]
func listBlockedAddress(c *gin.Context) ([]*model.WAF, error) {
var waf []*model.WAF