package com.qqchen.deploy.backend.notification.service;

import com.qqchen.deploy.backend.notification.dto.BaseSendNotificationRequest;
import com.qqchen.deploy.backend.notification.entity.NotificationChannel;

/**
 * 通知发送服务接口
 *
 * @author qqchen
 * @since 2025-11-03
 */
public interface INotificationSendService {
    
    /**
     * 发送通知（统一接口）
     *
     * @param channel 通知渠道对象
     * @param request 通知请求
     * @throws com.qqchen.deploy.backend.framework.exception.BusinessException 渠道已禁用、发送失败
     */
    void send(NotificationChannel channel, BaseSendNotificationRequest request);
}

