完善日志和审计链路

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
@@ -3,6 +3,8 @@ package dispute
import (
"time"
"hfb_sys/backend/internal/auditlog"
"gorm.io/datatypes"
)
@@ -36,10 +38,7 @@ type ArbitrateRequest struct {
Remark string `json:"remark" binding:"required"`
Amount float64 `json:"amount"`
}
type AuditMeta struct {
IP string
UserAgent string
}
type AuditMeta = auditlog.Meta
type PaginatedResult struct {
Items []DisputeDTO `json:"items"`