- 应用清单改与桌面网格同源 GetUserApp(BoaApp 自带 appKey/name):原实现读 store.getFlattenAppList,但 setApps 无调用方、列表恒空,且 MenuBar 本身无 appKey 字段——「按应用」此前只剩「全部」一行
- 角标接新代理端点 msgCenter/unreadCountByApp({appKey: 未读数}),未读多的应用排前,替代原 summary.todos 待办数语义
- 卡片 appName 缺失降级改同源匹配用户应用清单
This commit is contained in:
@@ -134,6 +134,15 @@ class Base extends Abstract {
|
||||
}>({ url });
|
||||
}
|
||||
|
||||
/**
|
||||
* 消息中心:按来源应用未读数映射(「按应用」清单角标):{appKey: 未读数},无未读的 appKey 不出现
|
||||
* @memberof Basic
|
||||
*/
|
||||
getMsgCenterUnreadCountByApp() {
|
||||
const url = path + "/msgCenter/unreadCountByApp";
|
||||
return this.getRequest<Record<string, number>>({ url });
|
||||
}
|
||||
|
||||
/**
|
||||
* WS 实时推送握手地址(UserMsg 一次性票据;url=null 表示未配置/不可达,走手动刷新兜底)
|
||||
* @memberof Basic
|
||||
|
||||
Reference in New Issue
Block a user