zs há 8 meses atrás
pai
commit
fb22103111

+ 1 - 1
src/main/java/com/free/controller/ChatRecordController.java

@@ -116,7 +116,7 @@ public class ChatRecordController {
     Long skip = null, limit = null;
     Map map = new HashMap();
     QueryWrapper qw = new QueryWrapper<>();
-    qw.orderByAsc("time");
+    qw.orderByDesc("time");
     /** 参数处理处理 */
     for (String key : allParams.keySet()) {
       Object value = allParams.get(key);