This commit is contained in:
root 2019-12-31 01:05:41 +08:00
parent 6de46f5c36
commit 4c976b1cbe

View File

@ -16,7 +16,7 @@ class MailController extends Controller
} }
if ($request->input('receiver')) { if ($request->input('receiver')) {
$users = User::whereIn('id', $recevicer)->get(); $users = User::whereIn('id', $request->input('receiver'))->get();
} else { } else {
$users = User::all(); $users = User::all();
} }