docs: 更新评论API文档中的postSlug字段示例
将GET列表和PUT更新接口示例中的postSlug字段值从"hello-world"更新为"/blog/hello-world",使其与实际URL路径格式保持一致。
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user