From c7640f49e173102841c8b7a239928e709bfcc77a Mon Sep 17 00:00:00 2001 From: 2977094657 <2977094657@qq.com> Date: Sat, 28 Feb 2026 18:37:30 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20README=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=AB=AF=E5=8F=A3=E4=B8=8E=E8=AE=BE=E7=BD=AE=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 489ba0b..d2c1b99 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,9 @@ npm run dev #### 2.5 访问应用 - 前端界面: http://localhost:3000 -- API服务: http://localhost:8000 -- API文档: http://localhost:8000/docs +- API服务(默认): http://localhost:10392 (可通过环境变量 WECHAT_TOOL_PORT 修改) +- API文档(默认): http://localhost:10392/docs +- 也可在应用内“设置 -> 后端端口”修改(支持“恢复默认”一键回到 10392):网页端会尝试重启本机后端到新端口并刷新(并写入 `output/runtime_settings.json`,开发模式下也会写入项目根目录 `.env` 供 `uv run` 下次启动使用);桌面端会重启内置后端并刷新 ## 打包为 EXE(Windows 桌面端)