master
cody 5 months ago
parent e06b21fd11
commit 69ddba6278

@ -56,7 +56,7 @@ class EmailRecordController extends BaseController
public function index()
{
$all = request()->all();
$list = $this->model->where(function ($query) use ($all) {
$list = $this->model->with('emailRecordUsers.user')->where(function ($query) use ($all) {
if (isset($all['filter']) && !empty($all['filter'])) {
foreach ($all['filter'] as $condition) {
$key = $condition['key'] ?? null;

Loading…
Cancel
Save