feature: dump csv

This commit is contained in:
Tokumeikoi 2020-10-08 22:42:26 +08:00
parent a00eca2fda
commit 2ede0f3f17

View File

@ -109,7 +109,7 @@ class UserController extends Controller
public function dumpCSV(Request $request)
{
$userModel = new User();
$userModel = User::orderBy('id', 'asc');
$this->filter($request, $userModel);
$res = $userModel->get();
$plan = Plan::get();