fix: agent exec log error

This commit is contained in:
engigu
2026-01-03 12:36:41 +08:00
parent 69da61b9a0
commit 6ffb65eebe
11 changed files with 103 additions and 43 deletions
+3 -3
View File
@@ -3,17 +3,17 @@ package controllers
import (
"strconv"
"baihu/internal/services"
"baihu/internal/services/tasks"
"baihu/internal/utils"
"github.com/gin-gonic/gin"
)
type ExecutorController struct {
executorService *services.ExecutorService
executorService *tasks.ExecutorService
}
func NewExecutorController(executorService *services.ExecutorService) *ExecutorController {
func NewExecutorController(executorService *tasks.ExecutorService) *ExecutorController {
return &ExecutorController{executorService: executorService}
}