You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
557 B
C#

3 months ago
using RabbitMQ.Client;
using System;
3 months ago
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
3 months ago
using DS.Module.Core;
3 months ago
namespace DS.Module.MQ
{
3 months ago
/// <summary>
///
/// </summary>
3 months ago
public interface IRabbitMQService
{
3 months ago
/// <summary>
/// 发送MQ报文
/// </summary>
/// <param name="request">请求参数</param>
/// <returns>true-发送成功 false-发送失败</returns>
Task<DataResult> PublishMessage(MQPublishMessageReqDto request);
3 months ago
}
}