From 2453929455c727d7f8ae59809883e4d83b1edf15 Mon Sep 17 00:00:00 2001 From: anghunk Date: Mon, 9 Feb 2026 14:15:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(widget):=20=E6=94=AF=E6=8C=81=E9=80=9A?= =?UTF-8?q?=E8=BF=87=20siteId=20=E9=9A=94=E7=A6=BB=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E7=9A=84=E8=AF=84=E8=AE=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在配置界面添加 siteId 输入项,用于区分不同站点/环境的评论 - 更新 API 客户端,将 postSlug 参数改为 postUrl 以保持一致性 - 在开发配置中默认添加 siteId 字段,并同步到存储和初始化逻辑 --- docs/widget/index.html | 4 ++++ docs/widget/src/core/api.js | 2 +- docs/widget/src/dev.js | 9 +++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/widget/index.html b/docs/widget/index.html index 68b67a8..120da91 100644 --- a/docs/widget/index.html +++ b/docs/widget/index.html @@ -129,6 +129,10 @@ +
+ + +