This commit is contained in:
xing 2022-09-14 21:49:40 +08:00
parent e0517643a6
commit 046f2e2514

View File

@ -71,10 +71,6 @@ func recentPosts() (r []models.WpPosts, err error) {
r, err = models.Find[models.WpPosts](models.SqlBuilder{{
"post_type", "post",
}, {"post_status", "publish"}}, "ID,post_title", "", models.SqlBuilder{{"post_date", "desc"}}, nil, 5)
if err != nil {
return
}
return
}