gorm wire

This commit is contained in:
2025-05-07 14:12:53 +08:00
parent 461531c308
commit 68606c76f9
111 changed files with 1726 additions and 5809 deletions

View File

@@ -6,18 +6,19 @@ import (
"management/internal/erpserver/model/dto"
"management/internal/erpserver/model/system"
"management/internal/erpserver/service"
v1 "management/internal/erpserver/service/v1"
)
type loginLogService struct {
*service.Service
repo system.LoginLogRepository
}
var _ v1.LoginLogService = (*loginLogService)(nil)
func NewLoginLogService(repo system.LoginLogRepository) *loginLogService {
func NewLoginLogService(service *service.Service, repo system.LoginLogRepository) v1.LoginLogService {
return &loginLogService{
repo: repo,
Service: service,
repo: repo,
}
}