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

refactor: tools

This commit is contained in:
耗子
2023-08-14 22:26:42 +08:00
parent c3bf62ebf7
commit de1c269a4a
29 changed files with 556 additions and 517 deletions

View File

@@ -62,7 +62,7 @@ func (r *TaskController) Log(ctx http.Context) {
return
}
log := tools.ExecShell("tail -n 30 " + task.Log)
log := tools.Exec("tail -n 30 " + task.Log)
Success(ctx, log)
}