package com.hzs.third.mq;

import com.hzs.common.core.domain.R;
import com.hzs.third.mq.dto.DelayedMessageDTO;

/**
 * @Description:
 * @Author: sui q
 * @Time: 2023/3/9 15:21
 * @Classname: IDelayedMessage
 * @PackageName: com.hzs.third.mq
 */
public interface IDelayedMessageApi {

    /**
     * 发送延时队列消息
     * @param delayedMessageDTO 内容
     * @return: void
     * @Author: sui q
     * @Date: 2023/3/9 15:18
     */
    R<Boolean> sendDelayedMessage(DelayedMessageDTO delayedMessageDTO);
}
