From df8e9c3e51cb0c8c1fac1a7d8e4edbef43db7081 Mon Sep 17 00:00:00 2001 From: Jafeng <2998840497@qq.com> Date: Mon, 22 Jun 2026 16:58:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E9=85=8D=E7=BD=AE=E4=B8=BA=2018082=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.gateway.example | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.gateway.example b/.env.gateway.example index 653a071..3cf3704 100644 --- a/.env.gateway.example +++ b/.env.gateway.example @@ -1,4 +1,4 @@ -CONFIG_NODE_PORT=8082 +CONFIG_NODE_PORT=18082 CONFIG_ADAPTER_ROLE=gateway CONFIG_MONGO_ENABLED=false diff --git a/README.md b/README.md index 39717db..b3827b9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ npm install npm run dev ``` -默认端口: `8082`,邹平子程序端口使用 `18082`。 +未配置 `CONFIG_NODE_PORT` 时默认端口是 `8082`;当前 gateway 和邹平子程序 bundle 都配置为 `18082`。 测试 gateway 本地启动: @@ -249,7 +249,7 @@ curl -X POST "http://127.0.0.1:18082/api/ykt/customerHisSync" \ 主服务保持旧 HIS 分支不变,新医院通过环境变量映射到本平台: ```bash -CONFIG_HOSPITAL_ADAPTER_GATEWAY_URL=http://127.0.0.1:8082 +CONFIG_HOSPITAL_ADAPTER_GATEWAY_URL=http://127.0.0.1:18082 ``` 主服务收到 `customerHisSync` 后,如果未命中旧 HIS 分支,会转发到本平台的 `/api/ykt/customerHisSync`。本平台返回 YKT 兼容格式 `{ success, message, list }`。