mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 18:27:13 +08:00
feat: 同步前端修改
This commit is contained in:
@@ -385,6 +385,9 @@ func (c *Fail2banController) BanList(ctx http.Context) http.Response {
|
||||
})
|
||||
}
|
||||
}
|
||||
if list == nil {
|
||||
list = []map[string]string{}
|
||||
}
|
||||
|
||||
return controllers.Success(ctx, http.Json{
|
||||
"currently_ban": currentlyBan,
|
||||
|
||||
Reference in New Issue
Block a user