feat(msgcenter): 按应用未读数代理端点 GET /msgCenter/unreadCountByApp
build / build-push (push) Successful in 1m13s
build / build-push (push) Successful in 1m13s
- 签名代理 UserMsg /oapi/msg/unreadCountByApp({appKey: 未读数},口径同 unreadCount 过滤删除与过期,无未读的 appKey 不出现)
- 消息中心「按应用」清单角标数据源;UserMsg 停机降级空 Map,铃铛不 500
This commit is contained in:
@@ -60,6 +60,12 @@ public class MessageCenterController {
|
||||
return proxy.summary(authUserWithDept.getId(), resolveSchId(authUserWithDept));
|
||||
}
|
||||
|
||||
/** 按来源应用未读数映射(消息中心「按应用」清单角标):{appKey: 未读数},无未读的 appKey 不出现 */
|
||||
@GetMapping("msgCenter/unreadCountByApp")
|
||||
public Map<String, Long> unreadCountByApp(BoaUser authUserWithDept) {
|
||||
return proxy.unreadCountByApp(authUserWithDept.getId());
|
||||
}
|
||||
|
||||
/**
|
||||
* WS 实时推送握手地址(UserMsg 一次性票据 + 浏览器可达端点)。
|
||||
* 未配置 WS / UserMsg 不可达 → url=null,前端维持"手动刷新"兜底表现。
|
||||
|
||||
Reference in New Issue
Block a user