隐藏调试

This commit is contained in:
2025-02-13 13:00:30 +08:00
parent a1c7d3c0d2
commit e6410582d2
6 changed files with 8 additions and 5 deletions

View File

@@ -187,7 +187,7 @@ var WorkItems = &graphql.Field{
ORDER BY LimitedRanked.row_num ASC LIMIT %d
`, sql, praise, collect, text_count, cursor, limit)
fmt.Println(sql)
//fmt.Println(sql)
if err := db.Raw(sql).Scan(&works).Error; err != nil {
fmt.Println("获取作品列表失败", err)