📅  最后修改于: 2022-03-11 14:54:42.609000             🧑  作者: Mango
namespace App\Exports;
use App\User;
use Maatwebsite\Excel\Concerns\FromCollection;
class UsersExport implements FromCollection
{
public function collection()
{
return User::all(); olla
}
}