소스 검색

Merge branch 'quickapp_fly' of iqiyoo:zhuishuyun_wap into kuaiyingyon_0820

onlinetest 4 년 전
부모
커밋
e32958e7b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
     }
 
     /**