Bläddra i källkod

Merge branch 'quickapp_fly' of iqiyoo:zhuishuyun_wap into kuaiyingyon_0820

onlinetest 4 år sedan
förälder
incheckning
e32958e7b3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Modules/User/Services/ReadRecordService.php

+ 1 - 1
app/Modules/User/Services/ReadRecordService.php

@@ -143,7 +143,7 @@ class ReadRecordService
             if ($a['time'] >= $b['time']) return -1;
             return 1;
         });
-        return collect($res)->sortBy('time', 'desc')->values()->all();
+        return collect($res)->sortByDesc('time')->values()->all();
     }
 
     /**