优化结构

This commit is contained in:
Yvan
2026-08-22 20:14:29 +08:00
parent 44ab14448a
commit 699bcceeea
90 changed files with 534 additions and 298 deletions
+17
View File
@@ -0,0 +1,17 @@
package system
import (
"kra/internal/biz/system"
)
type auditQueryRepo struct{ data Provider }
type auditRecorderRepo struct{ data Provider }
type logFileRepo struct{ data Provider }
func NewAuditRepo(data Provider) system.AuditQueryRepo { return &auditQueryRepo{data: data} }
func NewAuditRecorderRepo(data Provider) system.AuditRecordRepo {
return &auditRecorderRepo{data: data}
}
func NewLogFileRepo(data Provider) system.LogFileRepo { return &logFileRepo{data: data} }