From f379de6364a7f3b4ddc397d4bf6f70ab13bf6618 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Thu, 28 Oct 2021 14:03:54 +0800 Subject: [PATCH] 实现简单短信提醒 --- zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java b/zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java index 2745b5e..eafb7c2 100644 --- a/zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java +++ b/zq-erp/src/main/java/com/matrix/component/rabbitmq/MqTask.java @@ -26,7 +26,7 @@ /** * 处理类在spring中的bean名称 */ - private com.matrix.core.rabbitmq.DeliverCallbackAdapter handerAdapter; + private DeliverCallbackAdapter handerAdapter; /** * 自动确认 默认为true @@ -39,7 +39,7 @@ this.queue = queue; this.routingKey = routingKey; if(hander!=null){ - this.handerAdapter = new com.matrix.core.rabbitmq.DeliverCallbackAdapter(hander,routingKey); + this.handerAdapter = new DeliverCallbackAdapter(hander,routingKey); } } @@ -48,7 +48,7 @@ this.queue = queue; this.routingKey = routingKey; if(hander!=null){ - this.handerAdapter = new com.matrix.core.rabbitmq.DeliverCallbackAdapter(hander,routingKey); + this.handerAdapter = new DeliverCallbackAdapter(hander,routingKey); } this.autoAck=autoAck; @@ -95,7 +95,7 @@ return handerAdapter; } - public void setHander(com.matrix.core.rabbitmq.DeliverCallbackAdapter hander) { + public void setHander(DeliverCallbackAdapter hander) { this.handerAdapter = hander; } } -- Gitblit v1.9.1