feat(gateway): 添加 transfer-service Kong 路由配置
在 kong.yml 和 kong-standalone.yml 中注册 transfer-service (端口 3013): - /api/v1/transfers → transfer-api(用户端转让操作) - /api/v1/admin/transfers → transfer-admin-api(管理端) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0cd0bd5694
commit
cb9953047f
|
|
@ -226,6 +226,21 @@ services:
|
|||
- /api/v1/co-managed
|
||||
strip_path: false
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Transfer Service - 树转让服务
|
||||
# ---------------------------------------------------------------------------
|
||||
- name: transfer-service
|
||||
url: http://192.168.1.111:3013
|
||||
routes:
|
||||
- name: transfer-api
|
||||
paths:
|
||||
- /api/v1/transfers
|
||||
strip_path: false
|
||||
- name: transfer-admin-api
|
||||
paths:
|
||||
- /api/v1/admin/transfers
|
||||
strip_path: false
|
||||
|
||||
# ===========================================================================
|
||||
# 2.0 Services → host.docker.internal (同一台物理机,通过宿主机端口)
|
||||
# ===========================================================================
|
||||
|
|
|
|||
|
|
@ -291,6 +291,21 @@ services:
|
|||
- /api/v1/co-managed
|
||||
strip_path: false
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Transfer Service - 树转让服务
|
||||
# ---------------------------------------------------------------------------
|
||||
- name: transfer-service
|
||||
url: http://192.168.1.111:3013
|
||||
routes:
|
||||
- name: transfer-api
|
||||
paths:
|
||||
- /api/v1/transfers
|
||||
strip_path: false
|
||||
- name: transfer-admin-api
|
||||
paths:
|
||||
- /api/v1/admin/transfers
|
||||
strip_path: false
|
||||
|
||||
|
||||
# ===========================================================================
|
||||
# RWA 2.0 Services - 新架构微服务
|
||||
|
|
|
|||
Loading…
Reference in New Issue