| | |
| | | import cn.lili.modules.goods.service.WholesaleService; |
| | | import cn.lili.modules.goods.sku.GoodsSkuBuilder; |
| | | import cn.lili.modules.goods.sku.render.SalesModelRender; |
| | | import cn.lili.modules.lmk.enums.general.ViewTypeEnum; |
| | | import cn.lili.modules.member.entity.dos.FootPrint; |
| | | import cn.lili.modules.promotion.entity.dos.Coupon; |
| | | import cn.lili.modules.promotion.entity.dos.PromotionGoods; |
| | |
| | | |
| | | //记录用户足迹 |
| | | if (currentUser != null) { |
| | | FootPrint footPrint = new FootPrint(currentUser.getId(), goodsIndex.getStoreId(), goodsId, skuId); |
| | | FootPrint footPrint = new FootPrint(currentUser.getId(), goodsIndex.getStoreId(), goodsId, skuId, ViewTypeEnum.GOODS.getValue(), null, null); |
| | | String destination = rocketmqCustomProperties.getGoodsTopic() + ":" + GoodsTagsEnum.VIEW_GOODS.name(); |
| | | rocketMQTemplate.asyncSend(destination, footPrint, RocketmqSendCallbackBuilder.commonCallback()); |
| | | } |