|
@@ -30,6 +30,7 @@ class Config extends Controller
|
|
|
'id' => ['nullable', 'string'],
|
|
'id' => ['nullable', 'string'],
|
|
|
]);
|
|
]);
|
|
|
$search = request()->all();
|
|
$search = request()->all();
|
|
|
|
|
+ $search['group_id'] = 1;
|
|
|
$result = ConfigService::paginate($search);
|
|
$result = ConfigService::paginate($search);
|
|
|
} catch (ValidationException $e) {
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::VALIDATION_FAILED, $e->validator->errors()->first());
|
|
return $this->error(HttpStatus::VALIDATION_FAILED, $e->validator->errors()->first());
|