This commit is contained in:
2025-03-28 17:51:34 +08:00
parent da612380e0
commit 5c8802d2f0
68 changed files with 3422 additions and 630 deletions

View File

@@ -0,0 +1,31 @@
package system
import (
"context"
db "management/internal/db/sqlc"
)
type AuditBiz interface {
Create(ctx context.Context, arg *db.CreateSysAuditLogParams) error
AuditExpansion
}
type AuditExpansion interface{}
type auditBiz struct {
store db.Store
}
var _ AuditBiz = (*auditBiz)(nil)
func NewAudit(store db.Store) *auditBiz {
return &auditBiz{
store: store,
}
}
func (b *auditBiz) Create(ctx context.Context, arg *db.CreateSysAuditLogParams) error {
return b.store.CreateSysAuditLog(ctx, arg)
}