add crud api global setting and make global api response and handle response web and api on bootstrap app

This commit is contained in:
arifal hidayat
2025-01-27 02:08:40 +07:00
parent 5d0965bd3b
commit f1aa8868be
8 changed files with 95 additions and 27 deletions

View File

@@ -15,6 +15,7 @@ class GlobalSettingResource extends JsonResource
public function toArray(Request $request): array
{
return [
'id' => $this->id,
'key' => $this->key,
'value' => $this->value,
'type' => $this->type,