|
@@ -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();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|