完善日志和审计链路

This commit is contained in:
yml
2026-06-02 21:40:23 +08:00
parent 1325c8fb89
commit 6dcea2d56c
20 changed files with 243 additions and 90 deletions
+3 -4
View File
@@ -4,6 +4,8 @@ import (
"encoding/json"
"strings"
"time"
"hfb_sys/backend/internal/auditlog"
)
type ListingDTO struct {
@@ -116,10 +118,7 @@ type AdminActionRequest struct {
Reason string `json:"reason" binding:"required"`
}
type AuditMeta struct {
IP string
UserAgent string
}
type AuditMeta = auditlog.Meta
type ExternalUploadRequest struct {
UploadTime int64 `json:"uploadTime"`