浏览代码

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;
             if ($a['time'] >= $b['time']) return -1;
             return 1;
             return 1;
         });
         });
-        return collect($res)->sortBy('time', 'desc')->values()->all();
+        return collect($res)->sortByDesc('time')->values()->all();
     }
     }
 
 
     /**
     /**