导出记录

This commit is contained in:
邓皓元 2019-04-08 10:04:24 +08:00
parent 3c4c0ec67c
commit f75eca90f4

View File

@ -50,7 +50,7 @@ class ExportService extends Service
$url = $item->status === 3 ? Storage::disk($item->disk)->url($item->filename) : '';
$conditions = json_encode(array_except($item->conditions, ['page', 'limit', 'orderBy', 'sortedBy']), 256);
$conditions = json_encode(array_except($item->conditions ?? [], ['page', 'limit', 'orderBy', 'sortedBy']), 256);
return [
'id' => $item->id,