From b8f01d091170832917ee0b4d261bb650e2e5023a Mon Sep 17 00:00:00 2001 From: anghunk Date: Thu, 22 Jan 2026 15:09:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E4=BF=AE=E5=A4=8D=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E8=8E=B7=E5=8F=96=E6=8E=A5=E5=8F=A3=E4=B8=ADURL?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改进评论获取接口,正确处理带斜杠和不带斜杠的URL路径,确保能匹配到正确的评论 --- cwd-admin/index.html | 2 +- cwd-admin/src/views/LayoutView.vue | 2 +- cwd-admin/src/views/LoginView.vue | 2 +- cwd-api/src/api/public/getComments.ts | 41 +++++++++++++++++++++++---- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/cwd-admin/index.html b/cwd-admin/index.html index 439272d..be00808 100644 --- a/cwd-admin/index.html +++ b/cwd-admin/index.html @@ -6,7 +6,7 @@ - CWD 评论后台 + CWD 评论系统 diff --git a/cwd-admin/src/views/LayoutView.vue b/cwd-admin/src/views/LayoutView.vue index 3406ef7..31ce60a 100644 --- a/cwd-admin/src/views/LayoutView.vue +++ b/cwd-admin/src/views/LayoutView.vue @@ -14,7 +14,7 @@ /> -
CWD 评论后台
+
CWD 评论系统