feat: adjust comment

This commit is contained in:
engigu
2026-02-10 18:43:59 +08:00
parent 2aab7e976c
commit a8bd67dbd3
8 changed files with 71 additions and 71 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import (
var executorService *tasks.ExecutorService
func RegisterControllers() *Controllers {
// Initialize services
// 初始化服务
settingsService := services.NewSettingsService()
loginLogService := services.NewLoginLogService()
@@ -37,7 +37,7 @@ func RegisterControllers() *Controllers {
// 启动计划任务
executorService.StartCron()
// Initialize and return controllers
// 初始化并返回控制器
return &Controllers{
Task: controllers.NewTaskController(taskService, executorService),
Auth: controllers.NewAuthController(userService, settingsService, loginLogService),