如何从angular js获取数组对象并将其转换为excel,而无需数据库

时间:2019-04-27 15:31:49

标签: excel laravel maatwebsite-excel

class ExportController extends Controller
{
    public function export(Request $request)
    {
        $export = new requestsExport([
         $request->input("request_id")
        ]);

        return Excel::download($export, 'test.xlsx');
    }
}

0 个答案:

没有答案