Skip to content

Commit

Permalink
emmm
Browse files Browse the repository at this point in the history
  • Loading branch information
yisar committed May 11, 2024
1 parent f36e1ec commit d8291d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func GetRank(day string) ([]*Post, error) {
for rows.Next() {
var id, pv, uid int
var title, content, status, sort, tag, ctime, videos, uname, uqq string
if err := rows.Scan(&id, &title, &content, &status, &sort, &tag, &ctime, &videos, pv, uid, uname, uqq); err != nil {
if err := rows.Scan(&id, &title, &content, &status, &sort, &tag, &ctime, &videos, &pv, &uid, &uname, &uqq); err != nil {
return res, err
}

Expand Down

0 comments on commit d8291d7

Please sign in to comment.