不可以直接paginate()->makeHidden('full_name');
应该
$paginator = User::paginate();
$data = $paginator->makeHidden(['full_name']);
$paginator->data = $data;
return $paginator;
不可以直接paginate()->makeHidden('full_name');
应该
$paginator = User::paginate();
$data = $paginator->makeHidden(['full_name']);
$paginator->data = $data;
return $paginator;