feat(flow): 工作台与轨迹优化 + 管理端启用回路 + 本地验签配置修复
build / build-push (push) Successful in 1m30s

- 已办去重: 同一办件一行 + doneCount 累计次数(FlwTaskRepository 查询去重)
- 发起/撤回/重提留痕事件行(状态码 6/7, 无需 DDL); /oapi/flow/progress steps 含撤回/重提步骤
- 管理端新增启用回路: POST /admin/map/enable/{id}、POST /admin/def/enable/{id}; GET /api/flow/def/source 源码查询
- 修复 findEnabledByOrdId 未过滤 status 的隐性缺陷; 新增 DeptLabelSupport 科室标签支撑
- 测试: FlowEngineIT 撤回留痕/已办去重断言、OapiFlowContractIT 撤回步骤断言(94 tests 全过)
- 本地验签修复: 本地 UserBase 无 context-path, yh.open.services 显式覆盖服务目录枚举兜底的 /userbase basePath, 否则出站签名与服务端剥离不对齐 → GetUserInfo 等全部「验签失败」; 生产经 Caddy 挂 /userbase 时删除 services 覆盖
This commit is contained in:
chenxing
2026-09-18 16:56:01 +08:00
parent 434aa9d185
commit 9cc0b06c29
18 changed files with 956 additions and 248 deletions
+10 -7
View File
@@ -67,14 +67,17 @@ yh:
"100617": "2a3b4c5d6e7f8091a2b3c4d5e6f70819"
open:
# 身份密钥唯一来源 = yh.app-auth(本文件 app-auth 段),open.* 副本已删;
# 本地全链测试:指向 local-debug 的 UserBase;生产改回 base.yunhaixingtong.com
# 本地全链测试:指向 local-debug 的 UserBase(本地部署无 context-path,必须经 services 显式
# 覆盖枚举兜底的 /userbase 前缀,否则签名剥离与服务端不对齐 → 验签失败);
# 生产改回 base.yunhaixingtong.com(经 Caddy 挂 /userbase,届时删掉 services 覆盖)
base-host: http://localhost:8060
base-path: /userbase
# 服务目录(子应用配置优化方案 §4.2):usermsg 未部署时无需配置(enabled=false 即不解析);
# 部署后配容器直连完整 URL(如 http://usermsg-service:100xx/usermsg),或走平台级
# YH_OPEN_SERVICES_USERMSG 注入。
# services:
# usermsg: http://localhost:8080
base-path: ""
# 服务目录(子应用配置优化方案 §4.2):显式覆盖 PlatformService 枚举兜底的 /userbase basePath;
# usermsg 未部署时无需配置(enabled=false 即不解析);部署后配容器直连完整 URL
services:
userbase: http://localhost:8060
# usermsg 未部署时无需配置(enabled=false 即不解析);部署后配容器直连完整 URL
# usermsg: http://localhost:8080
# ===== 流程中心专属配置 =====
flow-center: