2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

refactor: packages to pkg

This commit is contained in:
耗子
2023-07-20 01:06:49 +08:00
parent ec7138ae2a
commit 5ce65653ad
33 changed files with 260 additions and 260 deletions

View File

@@ -4,7 +4,7 @@ import (
"github.com/goravel/framework/contracts/http"
"github.com/goravel/framework/facades"
"panel/app/models"
"panel/packages/helper"
"panel/pkg/tools"
)
type TaskController struct {
@@ -62,7 +62,7 @@ func (r *TaskController) Log(ctx http.Context) {
return
}
log := helper.ExecShell("tail -n 30 " + task.Log)
log := tools.ExecShell("tail -n 30 " + task.Log)
Success(ctx, log)
}