fix: 更新默认端口配置为 18082,并更新文档说明
This commit is contained in:
parent
e89e1e466a
commit
df8e9c3e51
@ -1,4 +1,4 @@
|
||||
CONFIG_NODE_PORT=8082
|
||||
CONFIG_NODE_PORT=18082
|
||||
CONFIG_ADAPTER_ROLE=gateway
|
||||
CONFIG_MONGO_ENABLED=false
|
||||
|
||||
|
||||
@ -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 }`。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user