feat: 终端添加日志

This commit is contained in:
Akizon77
2025-06-06 15:54:42 +08:00
parent 014ee67d69
commit fe3afceca9
9 changed files with 35 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ func Exec(c *gin.Context) {
}
}
uuid, _ := c.Get("uuid")
logOperation.Log(c.ClientIP(), uuid.(string), "Command executed, task id: "+taskId, "warn")
logOperation.Log(c.ClientIP(), uuid.(string), "REC, task id: "+taskId, "warn")
api.RespondSuccess(c, gin.H{
"task_id": taskId,
"clients": onlineClients,