chore(oapi): acasyllabu/workplan targets 切开放网关——base-host 指向 open-gateway-service:10013(20261015 切门收口,oapi 统一经网关验签/转发/台账);签名口径不变(网关 canonical 与 starter 逐字节一致);workplan 真实 ctx=/work-week-plan 已网关签名 200 实测并登记注册表(targets 18/routes 25)
build / build-push (push) Successful in 1m4s

This commit is contained in:
chenxing
2026-10-15 15:25:24 +08:00
parent 71c571f884
commit ad28149731
+11 -1
View File
@@ -74,10 +74,20 @@ yh:
# 客户端签名按该 ctx 剥离(待签 target = /oapi/timetable/Get?...,不含 /aca-syllabu)。
# ⚠️ 真实 ctx = /aca-syllabu(带横线,20261013 生产实测 401 定位);手册写的 /acasyllabu 有误。
# 本地联调:AcaSyllabu 在 8109 且无 ctx ⇒ 覆盖 base-host: http://localhost:8109、base-path 留空。
# base-host 指 open-gateway(开放网关,容器网地址):20261015 切门收口,oapi 统一经网关
# 验签/转发/台账;签名口径不变(网关 canonical 与 starter 逐字节一致)。base-path 即
# 网关 target 段(= 目标 ctx)。
targets:
acasyllabu:
base-host: http://base.yunhaixingtong.com
base-host: http://open-gateway-service:10013
base-path: /aca-syllabu
# workplan:一周安排 oapi(小组件 weekplan 取数)。base-path 即目标 ctx,
# 客户端签名按该 ctx 剥离(待签 target = /oapi/workplan/Get?...,不含 /work-week-plan)。
# 真实 ctx = /work-week-plan(20261015 网关签名 200 实测,网关注册表已登记该 target)。
# 本地联调:WorkWeekPlan 在 8110 且无 ctx ⇒ 覆盖 base-host: http://localhost:8110、base-path 留空。
workplan:
base-host: http://open-gateway-service:10013
base-path: /work-week-plan
# env-config 前端运行时配置(免登录 GET /api/env-config?target=front,数据源见
# config/PropertyEnvConfigSource:聚合 starter 自动装配,有 bean 即注册端点)。
# 本地无需配值(前端 dev 走 .env.dev);线上值经环境变量 YH_ENV_CONFIG_SOURCE_FRONT