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:
hailin 2026-03-01 22:10:09 -08:00
parent 0cd0bd5694
commit cb9953047f
2 changed files with 30 additions and 0 deletions

View File

@ -226,6 +226,21 @@ services:
- /api/v1/co-managed - /api/v1/co-managed
strip_path: false 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 (同一台物理机,通过宿主机端口) # 2.0 Services → host.docker.internal (同一台物理机,通过宿主机端口)
# =========================================================================== # ===========================================================================

View File

@ -291,6 +291,21 @@ services:
- /api/v1/co-managed - /api/v1/co-managed
strip_path: false 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 - 新架构微服务 # RWA 2.0 Services - 新架构微服务