29 lines
653 B
Go
29 lines
653 B
Go
package ech
|
|
|
|
import (
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/httpdns/httpdnsutils"
|
|
)
|
|
|
|
type AuditAction struct {
|
|
actionutils.ParentAction
|
|
}
|
|
|
|
func (this *AuditAction) Init() {
|
|
this.Nav("httpdns", "ech", "")
|
|
}
|
|
|
|
func (this *AuditAction) RunGet(params struct{}) {
|
|
httpdnsutils.AddLeftMenu(this.Parent())
|
|
this.Data["auditLogs"] = []map[string]interface{}{
|
|
{
|
|
"id": 1,
|
|
"scope": "tenant:1001 -> domain:api.business.com -> region:cn-hz",
|
|
"operator": "admin",
|
|
"result": "success",
|
|
"createdAt": "2026-02-21 10:00:00",
|
|
},
|
|
}
|
|
this.Show()
|
|
}
|