优化结构

This commit is contained in:
Yvan
2026-08-20 20:46:18 +08:00
parent 01b5c2f78a
commit 23bc29ce0f
67 changed files with 1594 additions and 465 deletions
+13
View File
@@ -0,0 +1,13 @@
package system
import "kra/internal/biz"
type auditQueryRepo struct{ data Provider }
type auditRecorderRepo struct{ data Provider }
type logFileRepo struct{ data Provider }
func NewAuditRepo(data Provider) biz.AuditQueryRepo { return &auditQueryRepo{data: data} }
func NewAuditRecorderRepo(data Provider) biz.AuditRecordRepo { return &auditRecorderRepo{data: data} }
func NewLogFileRepo(data Provider) biz.LogFileRepo { return &logFileRepo{data: data} }