这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
colin 6b0dc0b93b fix: Add the missing permission dependencies 3 weeks ago
..
LINGYUN/Abp/Notifications fix: Add the missing permission dependencies 3 weeks ago
FodyWeavers.xml upgrade(abp): upgrade abp framework to 7.4.0 2 years ago
FodyWeavers.xsd upgrade(abp): upgrade abp framework to 7.4.0 2 years ago
LINGYUN.Abp.Notifications.Application.csproj upgrade: upgrade abp to 10.0.2 3 months ago
README.EN.md feat(docs): 添加实时通知模块文档 1 year ago
README.md feat(docs): 添加实时通知模块文档 1 year ago

README.md

LINGYUN.Abp.Notifications.Application

通知系统的应用层模块,提供了通知系统的应用服务实现。

功能特性

  • 通知管理服务
  • 通知订阅服务
  • 通知发布服务
  • 通知查询服务
  • 通知状态管理服务

模块引用

[DependsOn(typeof(AbpNotificationsApplicationModule))]
public class YouProjectModule : AbpModule
{
  // other
}

应用服务

INotificationAppService

  • GetAsync - 获取通知详情
  • GetListAsync - 获取通知列表
  • DeleteAsync - 删除通知
  • MarkReadAsync - 标记通知为已读
  • MarkAllReadAsync - 标记所有通知为已读

INotificationSubscriptionAppService

  • SubscribeAsync - 订阅通知
  • UnSubscribeAsync - 取消订阅通知
  • GetAssignableSubscribersAsync - 获取可分配的订阅者列表
  • GetSubscribedListAsync - 获取已订阅的通知列表

基本用法

  1. 发送通知
await NotificationAppService.PublishAsync(
    name: "YourNotification",
    data: new NotificationData(),
    userIds: new[] { CurrentUser.Id });
  1. 管理通知订阅
await NotificationSubscriptionAppService.SubscribeAsync(
    notificationName: "YourNotification");

更多信息