From cd2942a96b207929eba40a62bc58081f752ac52c Mon Sep 17 00:00:00 2001 From: Chopper Date: Tue, 6 Jul 2021 14:53:17 +0800 Subject: [PATCH] =?UTF-8?q?mq=E5=8D=95=E5=90=91=E6=B6=88=E6=81=AF=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=EF=BC=8C=E5=85=88=E5=81=9A=E8=BF=98?= =?UTF-8?q?=E5=8E=9F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java b/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java index ac9dad97..4f4446d5 100644 --- a/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java +++ b/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java @@ -235,7 +235,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl i if (UserContext.getCurrentUser() != null) { FootPrint footPrint = new FootPrint(UserContext.getCurrentUser().getId(), goodsId, skuId); String destination = rocketmqCustomProperties.getGoodsTopic() + ":" + GoodsTagsEnum.VIEW_GOODS.name(); - rocketMQTemplate.sendOneWay(destination, footPrint); + rocketMQTemplate.asyncSend(destination, footPrint, RocketmqSendCallbackBuilder.commonCallback()); } return map; }