优化结构

This commit is contained in:
Yvan
2026-08-22 12:13:16 +08:00
parent d987244d0e
commit b27a66e9d3
200 changed files with 1794 additions and 1715 deletions
+3 -3
View File
@@ -2,12 +2,12 @@ package service
import (
"context"
"kra/internal/biz"
"kra/internal/biz/system"
)
type EmailService struct{ uc *biz.EmailUsecase }
type EmailService struct{ uc *system.EmailUsecase }
func NewEmailService(uc *biz.EmailUsecase) *EmailService { return &EmailService{uc: uc} }
func NewEmailService(uc *system.EmailUsecase) *EmailService { return &EmailService{uc: uc} }
func (s *EmailService) Test(ctx context.Context) error { return s.uc.Test(ctx) }