实现自动清理服务访问日志

This commit is contained in:
GoEdgeLab
2021-01-19 12:05:26 +08:00
parent 78caadc3ea
commit 14fc3d0659
7 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package profile
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
type CleanAction struct {
actionutils.ParentAction
}
func (this *CleanAction) Init() {
this.Nav("", "", "clean")
}
func (this *CleanAction) RunGet(params struct{}) {
this.Show()
}