From 594894940099941757560ee1e821cc705183dda0 Mon Sep 17 00:00:00 2001 From: anghunk Date: Mon, 9 Feb 2026 13:39:07 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E8=AF=84=E8=AE=BAAPI?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84postSlug=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将GET列表和PUT更新接口示例中的postSlug字段值从"hello-world"更新为"/blog/hello-world",使其与实际URL路径格式保持一致。 --- docs/api/admin/comments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/admin/comments.md b/docs/api/admin/comments.md index c1718d5..d42622b 100644 --- a/docs/api/admin/comments.md +++ b/docs/api/admin/comments.md @@ -44,7 +44,7 @@ GET /admin/comments/list "created": 1736762400000, "name": "张三", "email": "zhangsan@example.com", - "postSlug": "hello-world", + "postSlug": "/blog/hello-world", "postUrl": "https://your-blog.example.com/blog/hello-world", "url": "https://zhangsan.me", "ipAddress": "127.0.0.1", @@ -176,7 +176,7 @@ PUT /admin/comments/update "name": "张三", "email": "zhangsan@example.com", "url": "https://zhangsan.me", - "postSlug": "hello-world", + "postSlug": "/blog/hello-world", "postUrl": "https://example.com/blog/hello-world", "contentText": "更新后的评论内容", "status": "approved",