fangqing 5 hónapja
szülő
commit
f700f793e0

+ 3 - 1
ruoyi-generator/src/main/java/com/ruoyi/generator/service/CommunityCollectionServiceImpl.java

@@ -86,7 +86,9 @@ public class CommunityCollectionServiceImpl extends ServiceImpl<CommunityCollect
      */
     @Override
     public JSONArray selectArticleInfoInCollection(Long collectionId,Long  searchType) {
-
+        if (searchType == null){
+            searchType = 1L;
+        }
         JSONArray jsonArray = new JSONArray();
         //查询合集表
         CommunityCollection communityCollection = communityCollectionMapper.selectOne(new QueryWrapper<CommunityCollection>()