|
|
|
@ -22,7 +22,9 @@ class AdminNoticeExport implements FromArray, WithHeadings |
|
|
|
'space_id', |
|
|
|
'msg_content' |
|
|
|
]; |
|
|
|
AdminNotice::all($columns)->each( |
|
|
|
AdminNotice::query()->orderBy('id', 'desc')->limit(500)->select( |
|
|
|
$columns |
|
|
|
)->get()->each( |
|
|
|
function ($item) use (&$data, &$index) { |
|
|
|
$oldItem = (new AdminNoticeService( |
|
|
|
new OperationLogService() |
|
|
|
|