refactor(logs): remove unnecessary comment in query order for log listing

- Cleaned up comments in ListLogs and ListExecutionLogs functions to enhance code clarity without altering functionality.
This commit is contained in:
Max 2026-04-23 21:39:08 +08:00
parent efc84fbb97
commit 2c11a647ba

View file

@ -60,7 +60,7 @@ func ListLogs(c *gin.Context) {
// Build query parameters
param := model.QueryParam{
Orders: []model.QueryOrder{
{Column: "timestamp", Option: "desc"}, // 日志按时间戳倒序
{Column: "timestamp", Option: "desc"},
},
}
@ -150,7 +150,7 @@ func ListExecutionLogs(c *gin.Context) {
{Column: "execution_id", Value: executionID},
},
Orders: []model.QueryOrder{
{Column: "timestamp", Option: "desc"}, // 日志按时间戳倒序
{Column: "timestamp", Option: "desc"},
},
}