From ec82a21803a06daec8f2120be5ff97b243c4ba1e Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Wed, 16 Oct 2024 22:21:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8D=9A=E5=AE=A2=E5=86=85=E5=AE=B9=E5=90=8E?= =?UTF-8?q?=20=E8=AE=BF=E9=97=AE=E6=AC=A1=E6=95=B0=E4=B8=8D+1=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/src/APIs/GetBlogContent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/APIs/GetBlogContent.ts b/Server/src/APIs/GetBlogContent.ts index 45999ce..54705f4 100644 --- a/Server/src/APIs/GetBlogContent.ts +++ b/Server/src/APIs/GetBlogContent.ts @@ -57,7 +57,7 @@ class GetBlogContent extends API { const base64Content = Buffer.from(response.data, 'utf-8').toString('base64'); // 访问次数+1 - // MySQLConnection.execute('UPDATE blog SET visit_count = visit_count + 1 WHERE uuid = ?', [bloguuid]); + MySQLConnection.execute('UPDATE blog SET visit_count = visit_count + 1 WHERE uuid = ?', [bloguuid]); return res.json({ ...ServerStdResponse.OK, data: { data: base64Content,