Parcourir la source

回音壁 排序修改

xiao547607 il y a 4 ans
Parent
commit
63fc7c5999

+ 1 - 1
web/src/main/java/com/jpsoft/enterprise/modules/base/controller/WhisperingWallController.java

@@ -225,7 +225,7 @@ public class WhisperingWallController {
         Map<String,Object> searchParams = new HashMap<>();
 
         List<Sort> sortList = new ArrayList<>();
-        sortList.add(new Sort("id_","asc"));
+        sortList.add(new Sort("create_time","desc"));
 
         if (StringUtils.isNotEmpty(question)) {
             searchParams.put("question","%" + question + "%");