隐藏调试

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

@@ -207,7 +207,7 @@ var ArticleItems = &graphql.Field{
) AS LimitedRanked ON LimitedRanked.id = web_article.id
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(&articles).Error; err != nil {
fmt.Println("获取文章列表失败", err)