@@ -129,6 +129,9 @@ public class CommunityCollectionServiceImpl extends ServiceImpl<CommunityCollect
.isNull("is_delete");
})).size());
collectionObject.put("heat", communityCollection.getHeat());
+ //浏览量设置默认值
+ collectionObject.put("pageViews",0);
+
//查询当前用户是否订阅
CommunityCollectionUser communityCollectionUser = communityCollectionUserMapper.selectOne(new QueryWrapper<CommunityCollectionUser>()