You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: routes/aside.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ async function getAside(req, res, next) {
32
32
info: selectSqlThree
33
33
})
34
34
}
35
-
letselectSqlFour=awaitmysql.query(`SELECT DATE_FORMAT(articleCreateTime, '%Y-%m') AS id, COUNT(*) AS num FROM vue_blog GROUP BY DATE_FORMAT(articleCreateTime, '%Y-%m')`)
35
+
letselectSqlFour=awaitmysql.query(`SELECT DATE_FORMAT(articleCreateTime, '%Y-%m') AS id, COUNT(*) AS num FROM vue_blog GROUP BY DATE_FORMAT(articleCreateTime, '%Y-%m') ORDER BY DATE_FORMAT(articleCreateTime, '%Y-%m') DESC`)
0 commit comments