Forráskód Böngészése

发现页增加查询盲盒

ouyang 3 éve
szülő
commit
253f9606ae

+ 1 - 1
src/main/java/com/izouma/nineth/service/CollectionService.java

@@ -91,7 +91,7 @@ public class CollectionService {
     @Cacheable(value = "collectionList", key = "#pageQuery.hashCode()")
     public PageWrapper<Collection> all(PageQuery pageQuery) {
         pageQuery.getQuery().put("del", false);
-        String type = MapUtils.getString(pageQuery.getQuery(), "type", "BLIND_BOX");
+        String type = MapUtils.getString(pageQuery.getQuery(), "type", "BLIND_BOX,DEFAULT");
         pageQuery.getQuery().remove("type");
 
         Specification<Collection> specification = JpaUtils.toSpecification(pageQuery, Collection.class);