remove
This commit is contained in:
@@ -29,8 +29,6 @@ class RolesController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index(): mixed
|
public function index(): mixed
|
||||||
{
|
{
|
||||||
return ResponseBuilder::code(100)
|
|
||||||
->data(['1111']);
|
|
||||||
return $this->model->setBeforeGetList(function ($query) {
|
return $this->model->setBeforeGetList(function ($query) {
|
||||||
return $query->with(['permissions' => function ($query) {
|
return $query->with(['permissions' => function ($query) {
|
||||||
$query->select('id');
|
$query->select('id');
|
||||||
|
Reference in New Issue
Block a user