|
|
@@ -220,7 +220,7 @@ namespace MySystem
|
|
|
{
|
|
|
string MsgContent = Encoding.Default.GetString(e.Body.ToArray());
|
|
|
function.WriteLog(MsgContent, "接收mq数据队列");
|
|
|
- if(SycnSpBindService.Instance.SimDo(MsgContent));
|
|
|
+ if(SycnSpBindService.Instance.SimDo(MsgContent))
|
|
|
{
|
|
|
channel.BasicAck(e.DeliveryTag, true); //收到回复后,RabbitMQ会直接在队列中删除这条消息
|
|
|
}
|