获得系统通知数据的服务接口类
需实现单例方法 getInstance。
| Type | Name and description |
|---|---|
Integer |
getCount(String userId)总数 |
String |
getDefaultIcon()获取默认图标,可以是 css class 名,也可以 image 标签的图片地址 |
List<Notification> |
getList(String userId, Integer max)获取数据集 |
String |
getName()获取名称,支持返回 i18n 的 code |
String |
getUrl()获取 "更多" 的链接 |
总数
获取默认图标,可以是 css class 名,也可以 image 标签的图片地址 例如:"fa fa-square-o"、"portal/avatar.png"
获取数据集
获取名称,支持返回 i18n 的 code
获取 "更多" 的链接