소스 검색

Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop

lifenlong 4 년 전
부모
커밋
6e7254e765
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java

+ 1 - 1
framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java

@@ -235,7 +235,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
         if (UserContext.getCurrentUser() != null) {
             FootPrint footPrint = new FootPrint(UserContext.getCurrentUser().getId(), goodsId, skuId);
             String destination = rocketmqCustomProperties.getGoodsTopic() + ":" + GoodsTagsEnum.VIEW_GOODS.name();
-            rocketMQTemplate.asyncSend(destination, footPrint, RocketmqSendCallbackBuilder.commonCallback());
+            rocketMQTemplate.sendOneWay(destination, footPrint);
         }
         return map;
     }