feat(msg): 接入消息中心——NoticeUserMsgNotifier(发布/转发/催办→UserMsg WS 实时推送,afterCommit 容错+分片+幂等)+ SDK 门面客户端 + 用户目录归一(09-19 二期验收 9/9)
build / build-push (push) Successful in 57s

This commit is contained in:
chenxing
2026-09-19 18:55:17 +08:00
parent a5204680e6
commit 5db629cfdb
12 changed files with 474 additions and 9 deletions
+14 -5
View File
@@ -69,11 +69,17 @@ notice:
sms:
catchup-enabled: true
catchup-fixed-delay-ms: 300000
# 消息中心(UserMsg)站内消息推送(发布/转发/编辑转直发/催办):
# push-enabled 默认 false(未部署 UserMsg 的环境无空转告警);UserMsg 上线后打开
usermsg:
push-enabled: true
# 单点登录 / 应用间签名鉴权(基础平台 yh-auth / yh-app-auth)
yh:
sso:
server-url-prefix: http://sso.yunhaixingtong.com/cas/
# 本地浏览器联调:登录页=SSO 前端 /login(读取 service 参数回跳),
# 票据校验=根路径 /serviceValidate(160 实测;/cas/ 前缀仅存量本地默认值)
server-url-prefix: http://sso.yunhaixingtong.com/
client-host-url: http://localhost:8101
allow-headers: all
allow-origins: all
@@ -81,10 +87,11 @@ yh:
mobi-api-pattern: /mobiapi/*
app-auth:
enabled: true
# 本应用自身身份(客户端签名用):本地联调一律用 100617 与生产权威(deploy/notice.yaml)一致,
# 消除与 UserHome 撞号的 100001 占位(升级方案 D8);flow-center trusted-apps 已同步收此号段
app-key: 100617
app-secret: 2a3b4c5d6e7f8091a2b3c4d5e6f70819
# 本应用自身身份(客户端签名用)。本地联调用 100009(160 UserBase/中央密钥链在册身份,
# 互通验证通过;100617 在 160 侧未被 UserBase 信任会导致出站 401)。生产仍为 100617
#(deploy/notice.yaml 唯一真源);flow-center trusted-apps 已同步收 100009 号段
app-key: 100009
app-secret: dcc36c98299a4d36bb0ec39d42008e8c
# 提供方强制验签(两级模型 §4.1 试点 P2.1):/oapi/** 匿名 401、注册应用签名直调通过
server:
enforce-patterns: [/oapi/*]
@@ -102,6 +109,8 @@ yh:
# 生产改容器直连 http://flow-center-service:10008/flow-center(projman 注入)。
services:
flowcenter: http://localhost:8085
# usermsg 显式指向本地消息中心(生产部署 UserMsg 后改容器直连,如 http://usermsg-service:8080/usermsg)
usermsg: http://localhost:8080
# env-config 前端运行时配置(免登录 GET /api/env-config?target=front,数据源见
# config/PropertyEnvConfigSource:聚合 starter 自动装配,有 bean 即注册端点)。
# 本地无需配值(前端 dev 走 .env.dev);线上值经环境变量 YH_ENV_CONFIG_SOURCE_FRONT