Skip to content

Commit 4dac3e4

Browse files
author
钟辉
committed
chore: 用户接口返回访问量
1 parent b3642ed commit 4dac3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/app/controller/blog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class IndexController extends controller {
1313
console.log("id", id);
1414
const selectSql = `SELECT username as username, portrait as portrait, bg_img as bgImg,
1515
qq_account as qqAccount, wechat_account as weChatAccount, github_url as githubUrl,
16-
logo_name as logoName, logo_sub as logoSub
16+
logo_name as logoName, logo_sub as logoSub, view_count as viewCount
1717
FROM admin_user WHERE id = ?`;
1818
const userInfoPromise = this.app.mysql.query(selectSql, [id]);
1919
const articleCountPromise = this.app.mysql.query(

0 commit comments

Comments
 (0)