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:
parent
efc84fbb97
commit
2c11a647ba
1 changed files with 2 additions and 2 deletions
|
|
@ -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"},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue