mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
26 lines
461 B
Go
26 lines
461 B
Go
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
|
|
|
package iplists
|
|
|
|
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
|
|
|
type ListAction struct {
|
|
actionutils.ParentAction
|
|
}
|
|
|
|
func (this *ListAction) Init() {
|
|
this.Nav("", "", "list")
|
|
}
|
|
|
|
func (this *ListAction) RunGet(params struct{
|
|
ListId int64
|
|
}) {
|
|
err := InitIPList(this.Parent(), params.ListId)
|
|
if err != nil {
|
|
this.ErrorPage(err)
|
|
return
|
|
}
|
|
|
|
this.Show()
|
|
}
|