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