Commit d03ed807 by 王祖波

多商品页面记录大于1件商品的埋点

parent 3614dd57
...@@ -230,6 +230,10 @@ public class InteractRecordMessageService { ...@@ -230,6 +230,10 @@ public class InteractRecordMessageService {
List<List<String>> groupGoodsIds = JSON.parseObject(proIdJSON, new TypeReference<List<String>>() { List<List<String>> groupGoodsIds = JSON.parseObject(proIdJSON, new TypeReference<List<String>>() {
}); });
Integer goodsCount = groupGoodsIds.stream().mapToInt(List::size).sum();
if (goodsCount <= 1) {
return;
}
if (interactRecordBO.getExtendInfo() == null) { if (interactRecordBO.getExtendInfo() == null) {
interactRecordBO.setExtendInfo(InteractRecordExtendInfoBO.empty()); interactRecordBO.setExtendInfo(InteractRecordExtendInfoBO.empty());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment