mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
feature: dump csv
This commit is contained in:
parent
a00eca2fda
commit
2ede0f3f17
@ -109,7 +109,7 @@ class UserController extends Controller
|
|||||||
|
|
||||||
public function dumpCSV(Request $request)
|
public function dumpCSV(Request $request)
|
||||||
{
|
{
|
||||||
$userModel = new User();
|
$userModel = User::orderBy('id', 'asc');
|
||||||
$this->filter($request, $userModel);
|
$this->filter($request, $userModel);
|
||||||
$res = $userModel->get();
|
$res = $userModel->get();
|
||||||
$plan = Plan::get();
|
$plan = Plan::get();
|
||||||
|
Loading…
Reference in New Issue
Block a user