网页版推演服务器
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.

32 lines
1.4 KiB

namespace AX.IntegrationSystem.Services.Notifications
{
public interface INotificationService
{
/////// <summary>
/////// 发送通知
/////// </summary>
/////// <param name="receivers">接收者列表</param>
/////// <param name="content">通知内容</param>
/////// <param name="senderId">发送者 ID</param>
/////// <returns>成功: 通知列表; 失败: null;</returns>
////public Task<IEnumerable<Notification>> SendNotificationsAsync(IEnumerable<User> receivers, string content, string? senderId = null);
///// <summary>
///// 发送通知
///// </summary>
///// <param name="receiverIds">接收者 ID 列表</param>
///// <param name="content">通知内容</param>
///// <param name="senderId">发送者 ID</param>
///// <returns>成功: 通知列表; 失败: null;</returns>
////public Task<IEnumerable<Notification>> SendNotificationsAsync(IEnumerable<string> receiverIds, string content, string? senderId = null);
///// <summary>
///// 发送通知
///// </summary>
///// <param name="receiverIds">接收者 ID 列表</param>
///// <param name="dto">接收通知 DTO</param>
///// <returns>成功: 通知列表; 失败: null;</returns>
////public Task<IEnumerable<Notification>> SendNotificationsAsync(IEnumerable<string> receiverIds, ReceiveNotificationDto dto);
}
}