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/adminViews.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ async function selectViewsDetail(req, res, next) {
46
46
try{
47
47
letlimitNumber=req.query.limit*1||10
48
48
letoffsetNumber=(req.query.page*1-1)*limitNumber
49
-
letselectData=awaitmysql.query("SELECT routeFrom, routeTo, DATE_FORMAT(time, '%Y-%m-%d %r') as time, clientSystem, clientBrowser, clientBrowserVersion, clientIp, clientCity FROM vue_blog_views WHERE DATEDIFF(time, ?) >= 0 AND DATEDIFF(?, time) >= 0 ORDER BY time DESC LIMIT ? OFFSET ?",
49
+
letselectData=awaitmysql.query("SELECT routeFrom, routeTo, DATE_FORMAT(time, '%Y-%m-%d %r') as viewTime, clientSystem, clientBrowser, clientBrowserVersion, clientIp, clientCity FROM vue_blog_views WHERE DATEDIFF(time, ?) >= 0 AND DATEDIFF(?, time) >= 0 ORDER BY time DESC LIMIT ? OFFSET ?",
0 commit comments