From 39200072afccb721d0ae2c1ff0c150707a407fdd Mon Sep 17 00:00:00 2001 From: anghunk Date: Mon, 26 Jan 2026 09:04:55 +0800 Subject: [PATCH] =?UTF-8?q?docs(api):=20=E4=BC=98=E5=8C=96=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8F=82=E6=95=B0=E8=A1=A8=E6=A0=BC=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/public.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api/public.md b/docs/api/public.md index dd8d00a..0f0a0c4 100644 --- a/docs/api/public.md +++ b/docs/api/public.md @@ -20,12 +20,12 @@ GET /api/comments **查询参数** -| 名称 | 位置 | 类型 | 必填 | 说明 | -| --------------- | ----- | ------- | ---- | --------------------------------------------------- | -| `post_slug` | query | string | 是 | `window.location.origin + window.location.pathname` | -| `page` | query | integer | 否 | 页码,默认 `1` | -| `limit` | query | integer | 否 | 每页数量,默认 `20`,最大 `50` | -| `nested` | query | string | 否 | 是否返回嵌套结构,默认 `'true'` | +| 名称 | 位置 | 类型 | 必填 | 说明 | +| ----------- | ----- | ------- | ---- | -------------------------------------------------------------------------------------------- | +| `post_slug` | query | string | 是 | 使用 `window.location.origin + window.location.pathname`,获取带域名的链接,否则后台无法识别 | +| `page` | query | integer | 否 | 页码,默认 `1` | +| `limit` | query | integer | 否 | 每页数量,默认 `20`,最大 `50` | +| `nested` | query | string | 否 | 是否返回嵌套结构,默认 `'true'` | **成功响应**