优化代码/支持IP名单的更多格式的导入、导出

This commit is contained in:
刘祥超
2021-08-07 18:26:50 +08:00
parent d97f4da7fa
commit c3e68915a3
11 changed files with 272 additions and 21 deletions

View File

@@ -62,6 +62,10 @@ func (this *LogsAction) RunGet(params struct {
Offset: page.Offset,
Size: page.Size,
})
if err != nil {
this.ErrorPage(err)
return
}
logs := []maps.Map{}
for _, log := range logsResp.NodeLogs {