重构core包

This commit is contained in:
2025-10-26 15:48:38 +08:00
parent 6a8e8f1f7d
commit 40eb57ee47
6 changed files with 444 additions and 333 deletions

View File

@@ -20,7 +20,7 @@ import (
type Controller struct {
userRepo repository.UserRepository
monitorService service.MonitorService
tokenService token.TokenService
tokenService token.Service
notifyService domain_notify.Service
logger *logs.Logger
}
@@ -30,7 +30,7 @@ func NewController(
userRepo repository.UserRepository,
monitorService service.MonitorService,
logger *logs.Logger,
tokenService token.TokenService,
tokenService token.Service,
notifyService domain_notify.Service,
) *Controller {
return &Controller{